fix
This commit is contained in:
parent
0509be1312
commit
79e35f994e
@ -102,7 +102,7 @@ class CBZUtils:
|
|||||||
for img in zip_imgs:
|
for img in zip_imgs:
|
||||||
if img.endswith(".jpg"):
|
if img.endswith(".jpg"):
|
||||||
file_path = os.path.join(unpack_dir,img)
|
file_path = os.path.join(unpack_dir,img)
|
||||||
is_file.append(fileUtils.ver_file(file_path,"image"))
|
is_file.append(str(fileUtils.ver_file(file_path,"image")))
|
||||||
is_file = ",".join(is_file)
|
is_file = ",".join(is_file)
|
||||||
if len(is_file) != 0 and "False" in is_file:
|
if len(is_file) != 0 and "False" in is_file:
|
||||||
shutil.rmtree(unpack_dir)
|
shutil.rmtree(unpack_dir)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user