Allways refresh
This commit is contained in:
parent
5ba9e626d3
commit
04b6c92f0d
|
@ -69,6 +69,7 @@ hub:
|
||||||
now_hr = datetime.fromtimestamp(now)
|
now_hr = datetime.fromtimestamp(now)
|
||||||
expires = auth_state['token_expires']
|
expires = auth_state['token_expires']
|
||||||
expires_hr = datetime.fromtimestamp(expires)
|
expires_hr = datetime.fromtimestamp(expires)
|
||||||
|
expires = 0
|
||||||
if debug:
|
if debug:
|
||||||
print(f'auth_state for {user}: {auth_state}')
|
print(f'auth_state for {user}: {auth_state}')
|
||||||
if now >= expires:
|
if now >= expires:
|
||||||
|
|
Loading…
Reference in a new issue