From 4a0c251d8844e4b417353e033790e11d70be8f71 Mon Sep 17 00:00:00 2001 From: Nick Petrovic <4001122+nickpetrovic@users.noreply.github.com> Date: Fri, 10 Jan 2025 10:49:41 -0500 Subject: [PATCH] fix: type error with progress updater TypeError: unsupported operand type(s) for +=: 'int' and 'NoneType' Resolve BE-2133 --- sdk/src/beta9/multipart.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/src/beta9/multipart.py b/sdk/src/beta9/multipart.py index d8ae09259..92cae0bfe 100644 --- a/sdk/src/beta9/multipart.py +++ b/sdk/src/beta9/multipart.py @@ -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)