make chunk enumerating start at 0

This commit is contained in:
Christoph Stahl 2024-10-06 14:51:01 +02:00
parent b12276eb7c
commit a60cc1922d

View file

@ -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,
},
)