Skip to content

Commit 903e494

Browse files
committed
Set state strings
Should move to a module where theyre constant
1 parent 269aa71 commit 903e494

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

wes_client/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ def fixpaths(d):
9999
exit(0)
100100

101101
r = client.WorkflowExecutionService.GetWorkflowStatus(workflow_id=r["workflow_id"]).result()
102-
while r["state"] in ("Queued", "Initializing", "Running"):
102+
while r["state"] in ("QUEUED", "INITIALIZING", "RUNNING"):
103103
time.sleep(1)
104104
r = client.WorkflowExecutionService.GetWorkflowStatus(workflow_id=r["workflow_id"]).result()
105105

0 commit comments

Comments
 (0)