From 4f37f8b68afd68c9004d1697b7c5c14f86e34f5c Mon Sep 17 00:00:00 2001 From: caiwx86 Date: Thu, 30 Mar 2023 23:45:10 +0800 Subject: [PATCH] none concurrency downloads --- utils/base/BaseComicEntity.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/base/BaseComicEntity.py b/utils/base/BaseComicEntity.py index ac281c8..c82a956 100644 --- a/utils/base/BaseComicEntity.py +++ b/utils/base/BaseComicEntity.py @@ -128,7 +128,7 @@ class baseComic: repeat = 1 while is_next and repeat <= 10 and not CBZUtils.updateOldCBZ(files_name): ntfy.sendMsg(f"{book_name} {chapter_name} 下载中") - download_images(list_img,ci.getDirComicChapter(), files_name=files_name,concurrency=10,timeout=20) + download_images(list_img,ci.getDirComicChapter(), files_name=files_name,concurrency=None,timeout=20) equ_next = len(",".join(os.listdir(ci.getDirComicChapter())).split(".jpg"))-1 == len(list_img) if not equ_next: sleep_time = 3+int(repeat)*2