diff --git a/src/app/services/fl_downloader.py b/src/app/services/fl_downloader.py index e0008b1..1b64c38 100644 --- a/src/app/services/fl_downloader.py +++ b/src/app/services/fl_downloader.py @@ -86,7 +86,7 @@ class FLDownloader(BaseDownloader): tasks_ = 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: try: