Skip to content

Commit

Permalink
fix: type error with progress updater
Browse files Browse the repository at this point in the history
TypeError: unsupported operand type(s) for +=: 'int' and 'NoneType'

Resolve BE-2133
  • Loading branch information
nickpetrovic committed Jan 10, 2025
1 parent 9a16630 commit 4a0c251
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdk/src/beta9/multipart.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ def target():
except Exception:
continue

finished += processed
finished += processed or 0
if callback is not None:
callback(total=file_size, advance=processed)

Expand Down

0 comments on commit 4a0c251

Please sign in to comment.