Skip to content
Snippets Groups Projects
Commit 64d5b3cd authored by Sybren A. Stüvel's avatar Sybren A. Stüvel
Browse files

Worker: properly handle task updates without changing task status.

parent 56fa64ea
Branches
Tags
No related merge requests found
......@@ -223,6 +223,9 @@ class FlamencoWorker:
for key, value in kwargs.items():
setattr(self.last_task_activity, key, value)
if task_status is None:
task_status_changed = False
else:
task_status_changed = self.current_task_status != task_status
self.current_task_status = task_status
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment