Skip to content

Commit

Permalink
fix: python chunked upload
Browse files Browse the repository at this point in the history
  • Loading branch information
loks0n committed Dec 18, 2024
1 parent 05a9855 commit b113887
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 b113887

Please sign in to comment.