From 0754caaeb7a437286e9cfffc999ded7679cc49c3 Mon Sep 17 00:00:00 2001 From: normalizedwater546 Date: Sat, 23 Nov 2024 11:20:58 +0000 Subject: [PATCH] fix: update threads argument --- tests/test_download.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_download.py b/tests/test_download.py index 9ffcdd1..68f3074 100644 --- a/tests/test_download.py +++ b/tests/test_download.py @@ -20,7 +20,7 @@ class TestDownload(unittest.TestCase): def test_download(self): did = 440546 info = Doujinshi(**doujinshi_parser(did), name_format='%i') - info.downloader = Downloader(path='/tmp', size=5) + info.downloader = Downloader(path='/tmp', threads=5) info.download() self.assertTrue(os.path.exists(f'/tmp/{did}/001.jpg'))