From 8ebc2c1f44bb870d4fd3f8fc7e2aabe0beca8272 Mon Sep 17 00:00:00 2001 From: caiwx86 Date: Fri, 31 Mar 2023 23:09:11 +0800 Subject: [PATCH] fix --- 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 b487a15..5175ebf 100644 --- a/utils/base/BaseComicEntity.py +++ b/utils/base/BaseComicEntity.py @@ -127,7 +127,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=None,timeout=10) + download_images(list_img,ci.getDirComicChapter(), files_name=files_name,concurrency=10,timeout=10) equ_next = len(",".join(os.listdir(ci.getDirComicChapter())).split(".jpg"))-1 == len(list_img) if not equ_next: sleep_time = int(repeat)*2