This commit is contained in:
caiwx86 2023-04-01 14:16:42 +08:00
parent a33831ef02
commit 735eff028c

View File

@ -217,7 +217,7 @@ class fileUtils:
return size
@classmethod
def ver_file(cls,file_path,type,min_size=1):
def ver_file(cls,file_path,type,min_size=10):
time.sleep(0.1)
file_size_unit = cls.size(file_path,unit="kb")
if type == "image" and int(cls.size(file_path)) > min_size: