fix
This commit is contained in:
parent
4667afe295
commit
9f343c3b09
@ -127,6 +127,7 @@ class CBZUtils:
|
||||
return True
|
||||
else:
|
||||
try:
|
||||
if len(cls.zip_info(path)) < len(list_img) or os.path.getsize(path) < 300000:
|
||||
print(f"文件删除中:{path}")
|
||||
os.remove(path)
|
||||
comicInfo.setProgress(comicInfo.PROGRESS_NONE)
|
||||
|
||||
@ -55,6 +55,8 @@ class baseComic:
|
||||
#存在就校验CBZ包是否完整
|
||||
#if ci.nextExistsGetPath("done_"):
|
||||
# verUtils.verCBZ()
|
||||
if ci.isProgress(ci.PROGRESS_DONE):
|
||||
CBZUtils.verCBZComic()
|
||||
cls.count_chapter += 1
|
||||
#一本漫画下载后等待
|
||||
#清空文件夹
|
||||
|
||||
Loading…
Reference in New Issue
Block a user