Skip to content
This repository was archived by the owner on Oct 2, 2024. It is now read-only.

Commit cad3431

Browse files
committed
Bugfix in upload_async
1 parent 2673f1c commit cad3431

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/onedrivesdk/version_bridge/fragment_upload.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ def fragment_upload_async(self, local_path, conflict_behavior=None, upload_statu
146146
file_size = os.stat(local_path).st_size
147147
if file_size <= __MAX_SINGLE_FILE_UPLOAD:
148148
# fallback to single shot upload if file is small enough
149-
return self.content.request().upload_async(local_path)
149+
return self.content.request().upload(local_path)
150150
else:
151151
# multipart upload needed for larger files
152152
if conflict_behavior:

0 commit comments

Comments
 (0)