Fix typo
This commit is contained in:
parent
74e039809d
commit
e3540011cf
|
@ -37,9 +37,9 @@ hub:
|
|||
return False
|
||||
access_token = auth_state['access_token']
|
||||
refresh_token = auth_state['refresh_token']
|
||||
token_response = name]['token_response']
|
||||
token_response = auth_state['token_response']
|
||||
now = time.time()
|
||||
expires = self.user_dict[user.name]['token_expires']
|
||||
expires = auth_state['token_expires']
|
||||
if now >= expires:
|
||||
print(f'Time is: {now}, token expired: {expires}')
|
||||
return False
|
||||
|
|
Loading…
Reference in a new issue