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