mirror of
https://github.com/flibusta-apps/books_downloader.git
synced 2025-12-06 06:55:37 +01:00
Fix bugs
This commit is contained in:
@@ -86,7 +86,7 @@ class FLDownloader(BaseDownloader):
|
|||||||
tasks_ = tasks
|
tasks_ = tasks
|
||||||
|
|
||||||
while tasks_:
|
while tasks_:
|
||||||
done, pending = await asyncio.wait(tasks, return_when=asyncio.FIRST_COMPLETED)
|
done, pending = await asyncio.wait(tasks_, return_when=asyncio.FIRST_COMPLETED)
|
||||||
|
|
||||||
for task in done:
|
for task in done:
|
||||||
try:
|
try:
|
||||||
|
|||||||
Reference in New Issue
Block a user