fix
This commit is contained in:
parent
eaf1d70158
commit
9c03414c75
6
test.py
6
test.py
@ -32,9 +32,9 @@ class test:
|
||||
dt = datetime(*date_time)
|
||||
# 格式化输出日期时间,例如:YYYY-MM-DD HH:MM:SS
|
||||
file_date_time = dt.strftime(str_strftime)
|
||||
|
||||
if int(zip_time) - int(file_date_time) > 10:
|
||||
print(f"Clear Filename: {file_info.filename}, zip: {cbz_path}")
|
||||
# 一周内的图片跳过
|
||||
if int(zip_time) - int(file_date_time) > 7:
|
||||
#print(f"Clear Filename: {file_info.filename}, zip: {cbz_path}")
|
||||
old_img += 1
|
||||
|
||||
if old_img > 0:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user