This commit is contained in:
caiwx86 2022-12-22 21:05:12 +08:00
parent 1760bc82f8
commit aee76e4ec4

View File

@ -228,9 +228,9 @@ class comicEntity:
ntfy.sendMsg(f"{bookName} {chapterName} 数据不完整尝试删除配置CBZ文件后重试")
htmlUtils.remove_HtmlCache(chapter_url)
try:
if cbz_size < len(list_img):
if cbz_size < len(list_img) or os.path.getsize(cbz_path) < 300000:
ntfy.sendMsg(f"删除 {cbz_path}")
#os.remove(cbz_path)
os.remove(cbz_path)
else:
is_next = False
except: