This commit is contained in:
caiwx86 2023-04-01 14:22:51 +08:00
parent 735eff028c
commit 2b47018f27

View File

@ -126,7 +126,7 @@ class baseComic:
while CBZUtils.nextCBZ() and repeat <= 10:
ntfy.sendMsg(f"{book_name} {chapter_name} 下载中")
download_images(list_img,ci.getDirComicChapter(), files_name=files_name,concurrency=None,timeout=8)
equ_next = len(",".join(os.listdir(ci.getDirComicChapter())).split(".jpg"))-1 == len(list_img)
equ_next = len(",".join(os.listdir(ci.getDirComicChapter())).split(".jpg")) == len(list_img)
if not equ_next: ntfy.sendMsg(msg=f"下载数据(不完整,{int(repeat*2)}秒钟后尝试第{repeat}",sleep=int(repeat*2))
repeat += 1
return is_next