mirror of
https://github.com/Pardus-LiderAhenk/ahenk
synced 2024-11-22 02:42:16 +03:00
minor bug fix
This commit is contained in:
parent
983c902701
commit
f2c365fcb1
1 changed files with 1 additions and 1 deletions
|
@ -315,7 +315,7 @@ class ExecutionManager(object):
|
||||||
|
|
||||||
def check_expiration(self, expiration):
|
def check_expiration(self, expiration):
|
||||||
current_timestamp = int(time.time()) * 1000
|
current_timestamp = int(time.time()) * 1000
|
||||||
if expiration.lower() =='none':
|
if str(expiration) =='None':
|
||||||
return True
|
return True
|
||||||
elif int(expiration) > current_timestamp:
|
elif int(expiration) > current_timestamp:
|
||||||
return True
|
return True
|
||||||
|
|
Loading…
Reference in a new issue