Skip to content

Commit

Permalink
Merge pull request #1021 from appwrite/fix-python-chunked-upload
Browse files Browse the repository at this point in the history
fix: python chunked upload
  • Loading branch information
stnguyen90 authored Jan 23, 2025
2 parents 830198d + b113887 commit f241c8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/python/package/client.py.twig
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ class Client:
if offset + self._chunk_size < size:
end = offset + self._chunk_size
else:
end = size - offset
end = size
input_file.data = input[offset:end]

params[param_name] = input_file
Expand Down

0 comments on commit f241c8a

Please sign in to comment.