make chunk enumerating start at 0
This commit is contained in:
parent
b12276eb7c
commit
a60cc1922d
1 changed files with 2 additions and 2 deletions
|
@ -401,7 +401,7 @@ async def handle_request_config(data: dict[str, Any]) -> None:
|
||||||
{
|
{
|
||||||
"source": data["source"],
|
"source": data["source"],
|
||||||
"config": chunk,
|
"config": chunk,
|
||||||
"number": current + 1,
|
"number": current,
|
||||||
"total": num_chunks,
|
"total": num_chunks,
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
|
@ -417,7 +417,7 @@ async def handle_request_config(data: dict[str, Any]) -> None:
|
||||||
{
|
{
|
||||||
"source": data["source"],
|
"source": data["source"],
|
||||||
"config": chunk,
|
"config": chunk,
|
||||||
"number": current + 1,
|
"number": current,
|
||||||
"total": num_chunks,
|
"total": num_chunks,
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
|
|
Loading…
Add table
Reference in a new issue