This commit is contained in:
Lukas Schulz 2020-12-20 02:23:01 +01:00
parent 9e335902bb
commit 3bc534d362

View file

@ -167,6 +167,9 @@ def is_token_expired():
open_browser=False open_browser=False
) )
token_info = sp_oauth.get_cached_token() token_info = sp_oauth.get_cached_token()
if not token_info:
return True
else:
return token_info.is_token_expired() return token_info.is_token_expired()