fix
This commit is contained in:
1 parent
a33831ef02
commit
735eff028c
1 file changed
+1
-1
+1
-1
@@ -217,7 +217,7 @@ class fileUtils:
|
|||||||
return size
|
return size
|
||||||
|
|
||||||
@classmethod
|
@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)
|
time.sleep(0.1)
|
||||||
file_size_unit = cls.size(file_path,unit="kb")
|
file_size_unit = cls.size(file_path,unit="kb")
|
||||||
if type == "image" and int(cls.size(file_path)) > min_size:
|
if type == "image" and int(cls.size(file_path)) > min_size:
|
||||||
|
|||||||
Reference in new issue
Block a user