diff --git a/src/python/CRABClient/Commands/status.py b/src/python/CRABClient/Commands/status.py index bbc2a366a..911540895 100644 --- a/src/python/CRABClient/Commands/status.py +++ b/src/python/CRABClient/Commands/status.py @@ -274,7 +274,7 @@ def check_queued(status): if len(subDagInfos) > 1: states = [cls.translateStatus(subDagInfos[k]['DagStatus'], dbstatus) for k in subDagInfos if k > 0] for status in status_order: - if states.count(status) > 1: + if states.count(status) > 0: return check_queued(status) # If no tails are active, return the status of the processing DAG. if len(subDagInfos) > 0: