Skip to content
Snippets Groups Projects
Commit 68e4b631 authored by Martin Mareš's avatar Martin Mareš
Browse files

Merge branch 'honza/mrc' into 'devel'

fix: accessing self.job that is None

See merge request !70
parents a595675b fe5d167b
No related branches found
No related tags found
1 merge request!70fix: accessing self.job that is None
......@@ -110,7 +110,7 @@ class TheJob:
sess = db.get_session()
if not self.load() or self.job.state != db.JobState.ready:
# Někdo ho mezitím smazal nebo vyřídil
logger.info(f'Job: Job #{self.job.job_id} vyřizuje někdo jiný')
logger.info(f'Job: Job #{self.job_id} vyřizuje 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