diff --git a/mpcdf_admin_info.py b/mpcdf_admin_info.py index 844ace184b0ea958f660a13bd507b731245c752b..3bdece88db8b8c15d861cc8d2863ff805b03f1a6 100644 --- a/mpcdf_admin_info.py +++ b/mpcdf_admin_info.py @@ -72,7 +72,7 @@ def print_workers(api_url): down_workers += 1 print(" {0}: {1}".format(down.get("workerid").split(":")[0], colored("down", "red"))) - if len(building_workers) == 0 and down_workers == 0: + if len(building_workers) == 0 and waiting_jobs == 0 and down_workers == 0: print(" {0}".format(colored("all idling", "green")))