diff --git a/src/app/services/fl_downloader.py b/src/app/services/fl_downloader.py index 8dbf260..fa31d6a 100644 --- a/src/app/services/fl_downloader.py +++ b/src/app/services/fl_downloader.py @@ -90,7 +90,7 @@ class FLDownloader(BaseDownloader): return client, response, "application/zip" in content_type except (asyncio.CancelledError, NotSuccess, ReceivedHTML): - await client.aclose() + await response.aclose() await client.aclose() raise