Skip to content

Commit 80037bf

Browse files
author
Rodion Yaryy
committed
Adjust retry logic
1 parent f9d2539 commit 80037bf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

labelbox/schema/project.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -208,9 +208,9 @@ def export_issues(self, status=None, timeout_seconds=60):
208208
id_param: self.uid,
209209
status_param: status
210210
})
211-
res = res.get('project').get('issueExportUrl')
211+
res = res['project']
212212

213-
if res:
213+
if res.get('issueExportUrl'):
214214
return res
215215

216216
timeout_seconds -= sleep_time

0 commit comments

Comments
 (0)