Skip to content

Commit 7279961

Browse files
author
Matt Sokoloff
committed
format
1 parent c56f097 commit 7279961

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

labelbox/schema/model_run.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,7 @@ def _wait_until_done(self, status_fn, timeout_seconds=120, sleep_time=5):
114114
if res['status'] == 'COMPLETE':
115115
return True
116116
elif res['status'] == 'FAILED':
117-
raise Exception(
118-
f"Jop failed. Details : {res['errorMessage']}")
117+
raise Exception(f"Jop failed. Details : {res['errorMessage']}")
119118
timeout_seconds -= sleep_time
120119
if timeout_seconds <= 0:
121120
raise TimeoutError(

0 commit comments

Comments
 (0)