fix
This commit is contained in:
1 parent
42aa15a196
commit
57a0ae6841
1 file changed
+3
-4
@@ -123,12 +123,11 @@ class baseComic:
|
|||||||
is_old=CBZUtils.updateOldCBZ(files_name)
|
is_old=CBZUtils.updateOldCBZ(files_name)
|
||||||
#不存在ComicInfo.xml则生成
|
#不存在ComicInfo.xml则生成
|
||||||
if is_next and fu.notExists(ci.getPathComicInfoXML()): ci.writeComicInfoXML(chapter_name)
|
if is_next and fu.notExists(ci.getPathComicInfoXML()): ci.writeComicInfoXML(chapter_name)
|
||||||
repeat = 1
|
if is_next and not is_old:
|
||||||
#while is_next and repeat <= 10 and not is_old:
|
|
||||||
# ntfy.sendMsg(f"{book_name} {chapter_name} 下载中")
|
# ntfy.sendMsg(f"{book_name} {chapter_name} 下载中")
|
||||||
download_images(list_img,ci.getDirComicChapter(), files_name=files_name,concurrency=None,timeout=8)
|
download_images(list_img,ci.getDirComicChapter(), files_name=files_name,concurrency=None,timeout=8)
|
||||||
# ntfy.sendMsg("等待数据检验中...",sleep=0.5)
|
# ntfy.sendMsg("等待数据检验中...",sleep=0.5)
|
||||||
is_next = fu.equImages(ci.getDirComicChapter(),list_img)
|
is_next = fu.equImages(ci.getDirComicChapter(),list_img)
|
||||||
# if not is_next: ntfy.sendMsg(msg=f"下载数据(不完整,{int(repeat*2)}秒钟后尝试第{repeat}次",sleep=int(repeat*2))
|
# if not is_next: ntfy.sendMsg(msg=f"下载数据(不完整,{int(repeat*2)}秒钟后尝试第{repeat}次",sleep=int(repeat*2))
|
||||||
# repeat += 1
|
# repeat += 1
|
||||||
return is_next
|
return is_next
|
||||||
Reference in new issue
Block a user