From 039b29741ec9efb95f9bb5393769d6d89d89f902 Mon Sep 17 00:00:00 2001 From: caiwx86 Date: Sat, 1 Apr 2023 15:16:58 +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 43559a9..53fc8c2 100644 --- a/utils/base/BaseComicEntity.py +++ b/utils/base/BaseComicEntity.py @@ -124,7 +124,7 @@ class baseComic: #不存在ComicInfo.xml则生成 if is_next and fu.notExists(ci.getPathComicInfoXML()): ci.writeComicInfoXML(chapter_name) repeat = 1 - while is_next and repeat <= 10 and is_old: + while is_next and repeat <= 10 and not is_old: ntfy.sendMsg(f"{book_name} {chapter_name} 下载中") download_images(list_img,ci.getDirComicChapter(), files_name=files_name,concurrency=None,timeout=8) is_next = fu.equImages(ci.getDirComicChapter(),list_img)