fix
This commit is contained in:
parent
735eff028c
commit
2b47018f27
@ -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
|
||||
Loading…
Reference in New Issue
Block a user