fix
This commit is contained in:
parent
1760bc82f8
commit
aee76e4ec4
@ -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:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user