fix
This commit is contained in:
1 parent
1760bc82f8
commit
aee76e4ec4
1 file changed
+2
-2
@@ -228,9 +228,9 @@ class comicEntity:
|
|||||||
ntfy.sendMsg(f"{bookName} {chapterName} 数据不完整,尝试删除配置CBZ文件后重试")
|
ntfy.sendMsg(f"{bookName} {chapterName} 数据不完整,尝试删除配置CBZ文件后重试")
|
||||||
htmlUtils.remove_HtmlCache(chapter_url)
|
htmlUtils.remove_HtmlCache(chapter_url)
|
||||||
try:
|
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}")
|
ntfy.sendMsg(f"删除 {cbz_path}")
|
||||||
#os.remove(cbz_path)
|
os.remove(cbz_path)
|
||||||
else:
|
else:
|
||||||
is_next = False
|
is_next = False
|
||||||
except:
|
except:
|
||||||
|
|||||||
Reference in new issue
Block a user