From b11388768242b18d247790e0cc867c7663c67322 Mon Sep 17 00:00:00 2001 From: loks0n <22452787+loks0n@users.noreply.github.com> Date: Wed, 18 Dec 2024 23:11:25 +0000 Subject: [PATCH] fix: python chunked upload --- templates/python/package/client.py.twig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/python/package/client.py.twig b/templates/python/package/client.py.twig index c7a3d4feb..5faa69377 100644 --- a/templates/python/package/client.py.twig +++ b/templates/python/package/client.py.twig @@ -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