Print msg if all tasks are done
This commit is contained in:
@@ -91,6 +91,10 @@ def check():
|
||||
for task in tasks:
|
||||
not_done[reverse_dispatch[task.id]].append(task)
|
||||
|
||||
if not not_done:
|
||||
print("[green]All dispatched tasks are done![/green]")
|
||||
return
|
||||
|
||||
for key, value in not_done.items():
|
||||
if value:
|
||||
console.rule(f"[red]{key}[/red]")
|
||||
|
||||
Reference in New Issue
Block a user