Skip to content

Commit 5a4ddb2

Browse files
fix formatting
1 parent 9ad5ce3 commit 5a4ddb2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

labelbox/client.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,8 @@ def upload_data(self,
383383
if not file_data or not file_data.get("uploadFile", None):
384384
try:
385385
errors = response.json().get("errors", [])
386-
error_msg = next(iter(errors), {}).get("message", "Unknown error")
386+
error_msg = next(iter(errors), {}).get("message",
387+
"Unknown error")
387388
except Exception as e:
388389
error_msg = "Unknown error"
389390
raise labelbox.exceptions.LabelboxError(

0 commit comments

Comments
 (0)