minor bug fix

This commit is contained in:
volkansahin 2017-07-19 12:08:38 +03:00
parent 983c902701
commit f2c365fcb1

View file

@ -315,7 +315,7 @@ class ExecutionManager(object):
def check_expiration(self, expiration):
current_timestamp = int(time.time()) * 1000
if expiration.lower() =='none':
if str(expiration) =='None':
return True
elif int(expiration) > current_timestamp:
return True