From 5c86672dffbb44a09a50517d4d7e5ef7d8a6801a Mon Sep 17 00:00:00 2001 From: sargvfrtyh <150058812+sargvfrtyh@users.noreply.github.com> Date: Mon, 6 Nov 2023 15:13:19 -0500 Subject: [PATCH] Fix concurrency limitation (#617) --- cyberdrop_dl/downloader/downloader_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cyberdrop_dl/downloader/downloader_utils.py b/cyberdrop_dl/downloader/downloader_utils.py index 446c276fa..dc5179987 100644 --- a/cyberdrop_dl/downloader/downloader_utils.py +++ b/cyberdrop_dl/downloader/downloader_utils.py @@ -51,7 +51,7 @@ async def check_free_space(required_space_gb: int, download_directory: Path) -> def get_threads_number(args: Dict, domain: str) -> int: threads = args["Runtime"]["max_concurrent_downloads_per_domain"] or multiprocessing.cpu_count() - if any(s in domain for s in ('bunkr')): + if any(s in domain for s in ('bunkr',)): return min(threads, 1) if any(s in domain for s in ('anonfiles', 'pixeldrain', 'cyberfile')): return min(threads, 2)