fix
This commit is contained in:
parent
3870a35722
commit
ff8ee7a1d6
@ -154,10 +154,10 @@ class verUtils:
|
||||
else:
|
||||
ntfy.sendMsg(f"{comicInfo.getComicName()} {comicInfo.getChapter()} 数据不完整,尝试删除配置CBZ文件后重试")
|
||||
try:
|
||||
if cbz_size < len(list_img) or os.path.getsize(cbz_path) < 3000:
|
||||
if cbz_size > len(list_img) or os.path.getsize(cbz_path) < 300000:
|
||||
ntfy.sendMsg(f"删除 {cbz_path}")
|
||||
os.remove(cbz_path)
|
||||
comicInfo.setProgress(comicInfo.PROGRESS_DONE)
|
||||
comicInfo.setProgress(comicInfo.PROGRESS_NONE)
|
||||
else:
|
||||
is_next = True
|
||||
except:
|
||||
|
||||
@ -12,6 +12,7 @@ class comicInfo():
|
||||
PROGRESS_IMG = "download"
|
||||
PROGRESS_CBZ = "cbz"
|
||||
PROGRESS_DONE = "done"
|
||||
PROGRESS_NONE = "none"
|
||||
|
||||
document = Document()
|
||||
path_comic_info = None
|
||||
|
||||
Loading…
Reference in New Issue
Block a user