From 4f0023881e9c14c67a476fd21517464824767050 Mon Sep 17 00:00:00 2001 From: caiwx86 Date: Sat, 21 Jan 2023 22:08:30 +0800 Subject: [PATCH] fix --- utils/entity/BaseComicEntity.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/entity/BaseComicEntity.py b/utils/entity/BaseComicEntity.py index a23307a..1526959 100644 --- a/utils/entity/BaseComicEntity.py +++ b/utils/entity/BaseComicEntity.py @@ -198,7 +198,7 @@ class baseComic: ntfy.sendMsg(f"{book_name} {chapter_name} 下载中") is_next = verUtils.verNextCBZ(list_img) repeat = 1 - while not is_next and repeat <= 3: + while not is_next and repeat <= 2: download_images(list_img,comicInfo.getDirComicChapter(), filesName=files_name,timeout=20) file_imgs = os.listdir(comicInfo.getDirComicChapter()) count_jpg = ",".join(file_imgs).split(".jpg")