Skip to content

Commit

Permalink
fixed faulty done status assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
Hadi committed Jan 5, 2024
1 parent b5be147 commit 1cae8c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion luigi/worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ def run(self):
# update the cache
if self.task_completion_cache is not None:
self.task_completion_cache[self.task.task_id] = True
status = DONE
status = DONE if self.task.complete() else FAILED
elif self.check_complete(self.task):
status = DONE
else:
Expand Down

0 comments on commit 1cae8c2

Please sign in to comment.