yes.
This commit is contained in:
parent
9e335902bb
commit
3bc534d362
1 changed files with 4 additions and 1 deletions
3
main.py
3
main.py
|
@ -167,6 +167,9 @@ def is_token_expired():
|
|||
open_browser=False
|
||||
)
|
||||
token_info = sp_oauth.get_cached_token()
|
||||
if not token_info:
|
||||
return True
|
||||
else:
|
||||
return token_info.is_token_expired()
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue