fix
This commit is contained in:
parent
f869222686
commit
ea6469ddbb
@ -506,7 +506,7 @@ class CBZUtils:
|
||||
zf.write(path.joinpath(filename), arc_dir.joinpath(filename))
|
||||
zf.close()
|
||||
logging.info(f"打包完成:{target_file}")
|
||||
if count_files <= min_files:
|
||||
if int(count_files) <= int(min_files):
|
||||
try:
|
||||
os.path.remove(target_file)
|
||||
logging.info(f"{target_file} 文件不符合最小文件数规则,已删除")
|
||||
|
||||
Loading…
Reference in New Issue
Block a user