Skip to content
Snippets Groups Projects
Commit 8a7f1f0b authored by Bo-Chun Chen's avatar Bo-Chun Chen
Browse files

Solve referenced before assignment

parent 26d98fa6
No related branches found
No related tags found
8 merge requests!147Merge previous default branch feat-cod-rmq into main,!85kill nginx process running under user from login node,!51Fix acct create wait,!44WIP: Update Feat task manager to match new messaging structure,!39WIP:Feat cod rmq,!38WIP: Feat cod rmq,!34WIP: Update task manager agent,!25Feature task manager
......@@ -42,7 +42,7 @@ def task_manager(ch, method, properties, body):
msg = json.loads(body)
username = method.routing_key.split('.')[1]
task_name = msg['task']
success = msg['success']
done = success = msg['success']
if username not in tracking:
current = tracking[username] = record.copy()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment