fix
This commit is contained in:
1 parent
83fc294681
commit
0f436e10c4
2 files changed
+6
-1
No files matched your search
@@ -368,7 +368,11 @@ class comicInfo():
|
|||||||
cbz = cls.nextSavePath("cbz_")
|
cbz = cls.nextSavePath("cbz_")
|
||||||
done = cls.nextSavePath("done_")
|
done = cls.nextSavePath("done_")
|
||||||
shutil.move(cbz,done)
|
shutil.move(cbz,done)
|
||||||
|
|
||||||
|
@classmethod
|
||||||
|
def nextDoneSave(cls,data):
|
||||||
|
cls.nextSavePath("done_",data)
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def nextExistsGetPath(cls,msg):
|
def nextExistsGetPath(cls,msg):
|
||||||
path = cls.nextSavePath(msg)
|
path = cls.nextSavePath(msg)
|
||||||
|
|||||||
@@ -221,6 +221,7 @@ class comicEntity:
|
|||||||
cbz_size = 0
|
cbz_size = 0
|
||||||
if len(list_img) == cbz_size:
|
if len(list_img) == cbz_size:
|
||||||
ntfy.sendMsg(f"{bookName} {chapterName} 数据完整,已跳过")
|
ntfy.sendMsg(f"{bookName} {chapterName} 数据完整,已跳过")
|
||||||
|
comicInfo.nextDoneSave(list_img)
|
||||||
is_next = False
|
is_next = False
|
||||||
else:
|
else:
|
||||||
ntfy.sendMsg(f"{bookName} {chapterName} 数据不完整,尝试删除配置CBZ文件后重试")
|
ntfy.sendMsg(f"{bookName} {chapterName} 数据不完整,尝试删除配置CBZ文件后重试")
|
||||||
|
|||||||
Reference in new issue
Block a user