Skip to content

Commit

Permalink
fix format
Browse files Browse the repository at this point in the history
  • Loading branch information
ptpt committed Oct 13, 2022
1 parent ecc517d commit f138634
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion mapillary_tools/uploader.py
Original file line number Diff line number Diff line change
Expand Up @@ -502,7 +502,11 @@ def _reset_retries(_, __):
# we don't expect expected_offset == server_offset
# because the chunk might be partially uploaded (that's too bad)
if not (expected_offset <= server_offset):
LOG.fatal("Upload server offset %s does not match expected offset %s", server_offset, expected_offset)
LOG.fatal(
"Upload server offset %s does not match expected offset %s",
server_offset,
expected_offset,
)
if isinstance(ex, requests.HTTPError):
raise upload_api_v4.wrap_http_exception(ex) from ex
else:
Expand Down

0 comments on commit f138634

Please sign in to comment.