Allways refresh

This commit is contained in:
Micke Nordin 2024-01-15 14:12:17 +01:00
parent 5ba9e626d3
commit 04b6c92f0d
Signed by untrusted user: Micke
GPG key ID: F53C4CC83EDAB3BE

View file

@ -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: