This commit is contained in:
cwx committed 2023-04-01 15:15:16 +08:00
1 parent 936aaf1a59
commit b19164d17b
2 files changed
+5 -3

No files matched your search

+2 -2
View File
@@ -119,12 +119,12 @@ class baseComic:
ci.getNewIconComicChapter()
#检验CBZ文件
CBZUtils.verCBZComic(cbz_file)
CBZUtils.updateOldCBZ(files_name)
is_next = CBZUtils.nextCBZ()
is_old=CBZUtils.updateOldCBZ(files_name)
#不存在ComicInfo.xml则生成
if is_next and fu.notExists(ci.getPathComicInfoXML()): ci.writeComicInfoXML(chapter_name)
repeat = 1
while is_next and repeat <= 10:
while is_next and repeat <= 10 and 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)