fix
This commit is contained in:
parent
74abe11880
commit
c7ccec4152
@ -96,8 +96,8 @@ class CBZUtils:
|
||||
if os.path.exists(filepath):
|
||||
ctime = os.path.getmtime(filepath)
|
||||
str_ctime = datetime.fromtimestamp(int(ctime))
|
||||
file_ctime = str(str_ctime.year)+"{:0>2d}".format(str_ctime.month)+"{:0>2d}".format(str_ctime.day)
|
||||
c_ctime = 20230117
|
||||
file_ctime = str(str_ctime.year)+"{:0>2d}".format(str_ctime.month)+"{:0>2d}".format(str_ctime.day)+"{:0>2d}".format(str_ctime.hour)
|
||||
c_ctime = 2023011603
|
||||
if int(file_ctime) < c_ctime:
|
||||
return None
|
||||
else:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user