From 3b5be6a12d68482b7aa5e927d85a7987fda2b217 Mon Sep 17 00:00:00 2001 From: caiwx86 Date: Thu, 30 Mar 2023 19:49:02 +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 5c9debc..f1211f7 100644 --- a/utils/base/BaseComicEntity.py +++ b/utils/base/BaseComicEntity.py @@ -126,7 +126,7 @@ class baseComic: ci.writeComicInfoXML(chapter_name) is_next = CBZUtils.nextCBZ(list_img) repeat = 1 - while is_next and repeat <= 2 and not CBZUtils.updateOldCBZ(files_name): + while is_next and repeat <= 5 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) equ_next = len(",".join(os.listdir(ci.getDirComicChapter())).split(".jpg"))-1 == len(list_img)