fix
This commit is contained in:
+5
-3
@@ -154,7 +154,9 @@ class CBZUtils:
|
||||
return False
|
||||
|
||||
@classmethod
|
||||
def updateOldCBZ(cls,filesname=None,result=False):
|
||||
def isUpdateOldCBZ(cls,filesname=None,result=False):
|
||||
#数据损坏则为 True
|
||||
is_update = True
|
||||
if filesname == None: filesname = Comic.getChapterFilesName()
|
||||
old_zipfile_path = ComicPath.getPathOldCBZComicChapter()
|
||||
|
||||
@@ -173,9 +175,9 @@ class CBZUtils:
|
||||
#检验图片损坏则删除
|
||||
if file.endswith(".jpg") and not fu.ver_file(os.path.join(unzip_path,file),type="image"):
|
||||
fu.remove(unzip_path)
|
||||
return False
|
||||
return True
|
||||
ci.writeComicInfoXML(overlay=True)
|
||||
result = True
|
||||
result = False
|
||||
return result
|
||||
|
||||
@classmethod
|
||||
|
||||
Reference in New Issue
Block a user