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