fix
This commit is contained in:
parent
4fa9bf4f3f
commit
54cf282837
@ -209,6 +209,7 @@ class fileUtils:
|
||||
img.verify()
|
||||
return True
|
||||
except:
|
||||
if os.path.exists(file_path):
|
||||
os.remove(file_path)
|
||||
print(f"{file_path}已损坏 type:{type},删除重试中")
|
||||
return False
|
||||
Loading…
Reference in New Issue
Block a user