Return continuation even if no chat data

This commit is contained in:
taizan-hokuto
2020-02-16 23:31:25 +09:00
parent d8c1c4491d
commit eae485b914
4 changed files with 34 additions and 30 deletions

View File

@@ -1,4 +1,3 @@
import aiohttp
import asyncio
import json
@@ -105,7 +104,7 @@ def download_patch(callback, blocks, video_id):
if callback:
callback(actions, last - first)
return Patch(actions, continuation, first, last)
return Patch()
return Patch(continuation = continuation)
"""
allocate workers and assign blocks.
"""