fix
This commit is contained in:
1 parent
5899fd913b
commit
2356aa17eb
1 file changed
+1
-1
+1
-1
@@ -100,7 +100,7 @@ class CBZUtils:
|
|||||||
for file in fz.namelist():
|
for file in fz.namelist():
|
||||||
if file.endswith(".jpg"):
|
if file.endswith(".jpg"):
|
||||||
data = fz.read(file)
|
data = fz.read(file)
|
||||||
time.sleep(1)
|
time.sleep(0.1)
|
||||||
is_file = fileUtils.ver_file(data,"image")
|
is_file = fileUtils.ver_file(data,"image")
|
||||||
if not is_file and os.path.exists(filepath):
|
if not is_file and os.path.exists(filepath):
|
||||||
os.remove(filepath)
|
os.remove(filepath)
|
||||||
|
|||||||
Reference in new issue
Block a user