fix
This commit is contained in:
parent
f5b883f736
commit
91f0b17e95
@ -121,6 +121,8 @@ class baseComic:
|
|||||||
#更新Icon
|
#更新Icon
|
||||||
ci.getNewIconComicChapter()
|
ci.getNewIconComicChapter()
|
||||||
if os.path.exists(cbz_path): CBZUtils.verCBZComic(cbz_path)
|
if os.path.exists(cbz_path): CBZUtils.verCBZComic(cbz_path)
|
||||||
|
|
||||||
|
is_unzip = CBZUtils.existsUnzipCBZ(files_name)
|
||||||
if is_next:
|
if is_next:
|
||||||
if not os.path.exists(ci.getPathComicInfoXML()):
|
if not os.path.exists(ci.getPathComicInfoXML()):
|
||||||
#print("不存在ComicInfo.xml 生成中...")
|
#print("不存在ComicInfo.xml 生成中...")
|
||||||
@ -128,7 +130,6 @@ class baseComic:
|
|||||||
ci.writeComicInfoXML(chapter_name)
|
ci.writeComicInfoXML(chapter_name)
|
||||||
ntfy.sendMsg(f"{book_name} {chapter_name} 下载中")
|
ntfy.sendMsg(f"{book_name} {chapter_name} 下载中")
|
||||||
is_next = CBZUtils.nextCBZ(list_img)
|
is_next = CBZUtils.nextCBZ(list_img)
|
||||||
is_unzip = CBZUtils.existsUnzipCBZ(files_name)
|
|
||||||
repeat = 1
|
repeat = 1
|
||||||
while is_next and repeat <= 2 and not is_unzip:
|
while is_next and repeat <= 2 and not is_unzip:
|
||||||
download_images(list_img,ci.getDirComicChapter(), files_name=files_name,concurrency=10,timeout=60)
|
download_images(list_img,ci.getDirComicChapter(), files_name=files_name,concurrency=10,timeout=60)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user