fix
This commit is contained in:
+1
-1
@@ -226,7 +226,7 @@ class fileUtils:
|
||||
img = Image.open(file_path)
|
||||
img.verify()
|
||||
img.close()
|
||||
logger.debug(f"{file_path} 类型为type:{type} size: {file_size_unit}")
|
||||
logger.info(f"{file_path} 类型为type:{type} size: {file_size_unit}")
|
||||
return True
|
||||
except:
|
||||
if os.path.exists(file_path):
|
||||
|
||||
Reference in New Issue
Block a user