Skip to content
Snippets Groups Projects
Commit 08c1dd75 authored by Jan Prachař's avatar Jan Prachař Committed by Martin Mareš
Browse files

fix: self.job is None

parent e286d393
No related branches found
No related tags found
No related merge requests found
......@@ -89,7 +89,7 @@ class TheJob:
sess = db.get_session()
if not self.load():
# Mezitím úlohu smazal někdo jiný
logger.info(f'Job: Job #{self.job.job_id} expiroval někdo jiný')
logger.info(f'Job: Job #{self.job_id} expiroval někdo jiný')
sess.rollback()
return
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment