This commit is contained in:
parent
8c269fd768
commit
77b6293ea6
@ -17,6 +17,7 @@ def rolltime(check_datetime , curr_time=datetime.datetime.now()):
|
|||||||
# print(f'\tcurr_time : {curr_time.strftime("%Y-%m-%d %H:%M:%S")}')
|
# print(f'\tcurr_time : {curr_time.strftime("%Y-%m-%d %H:%M:%S")}')
|
||||||
# print(f'\t\tsecs diff : {timediff}')
|
# print(f'\t\tsecs diff : {timediff}')
|
||||||
|
|
||||||
|
|
||||||
if timediff > 86400 or (curr_time > time_to_grow and last_time < time_to_grow):
|
if timediff > 86400 or (curr_time > time_to_grow and last_time < time_to_grow):
|
||||||
return True
|
return True
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user