nightly commit
This commit is contained in:
@@ -38,4 +38,8 @@ def GetCurrentTimestamp():
|
||||
return int(time.time())
|
||||
|
||||
def GetTokenExpireOn():
|
||||
return GetCurrentTimestamp() + 60 * 60 * 24 * 2 # add 2 day from now
|
||||
return GetCurrentTimestamp() + 60 * 60 * 24 * 2 # add 2 day from now
|
||||
|
||||
def Str2Bool(strl):
|
||||
return strl.lower() == 'true'
|
||||
|
||||
Reference in New Issue
Block a user