From a60cc1922db4a99f3a09dad793a98954618fbf5d Mon Sep 17 00:00:00 2001 From: Christoph Stahl Date: Sun, 6 Oct 2024 14:51:01 +0200 Subject: [PATCH] make chunk enumerating start at 0 --- syng/client.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/syng/client.py b/syng/client.py index 42de18f..604a1d3 100644 --- a/syng/client.py +++ b/syng/client.py @@ -401,7 +401,7 @@ async def handle_request_config(data: dict[str, Any]) -> None: { "source": data["source"], "config": chunk, - "number": current + 1, + "number": current, "total": num_chunks, }, ) @@ -417,7 +417,7 @@ async def handle_request_config(data: dict[str, Any]) -> None: { "source": data["source"], "config": chunk, - "number": current + 1, + "number": current, "total": num_chunks, }, )