This commit is contained in:
caiwx86 2023-01-09 20:50:30 +08:00
parent 83fc294681
commit 0f436e10c4
2 changed files with 6 additions and 1 deletions

View File

@ -368,7 +368,11 @@ class comicInfo():
cbz = cls.nextSavePath("cbz_")
done = cls.nextSavePath("done_")
shutil.move(cbz,done)
@classmethod
def nextDoneSave(cls,data):
cls.nextSavePath("done_",data)
@classmethod
def nextExistsGetPath(cls,msg):
path = cls.nextSavePath(msg)

View File

@ -221,6 +221,7 @@ class comicEntity:
cbz_size = 0
if len(list_img) == cbz_size:
ntfy.sendMsg(f"{bookName} {chapterName} 数据完整,已跳过")
comicInfo.nextDoneSave(list_img)
is_next = False
else:
ntfy.sendMsg(f"{bookName} {chapterName} 数据不完整尝试删除配置CBZ文件后重试")