From 42fd2ebb20344cb1da7716a52fdae5a66390e9b5 Mon Sep 17 00:00:00 2001 From: Ben Inada Date: Wed, 16 Oct 2024 12:31:41 -0700 Subject: [PATCH] fix: mismatched upload session args The current args are for files_upload_session_append, not files_upload_session_append_v2 --- dropboxdrivefs/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dropboxdrivefs/core.py b/dropboxdrivefs/core.py index 5e8ba58..310a4ff 100644 --- a/dropboxdrivefs/core.py +++ b/dropboxdrivefs/core.py @@ -269,7 +269,7 @@ def _upload_chunk(self, final=False): ) else: - self.dbx.files_upload_session_append_v2( + self.dbx.files_upload_session_append( self.buffer.getvalue(), self.cursor.session_id, self.cursor.offset )