diff --git a/solar/solar/cli/orch.py b/solar/solar/cli/orch.py index 58cd5a2d..7e96f56f 100755 --- a/solar/solar/cli/orch.py +++ b/solar/solar/cli/orch.py @@ -64,7 +64,7 @@ def wait_report(uid, timeout, interval=3): length = len(stringified_summary) click.echo(stringified_summary, nl=False) sys.stdout.flush() - if summary[states.PENDING.name] + summary[states.INPROGRESS.name] == 0: + if summary[states.PENDING.name] + summary[states.INPROGRESS.name] != 0: time.sleep(interval) except errors.SolarError as err: click.echo('')