mirror of
https://github.com/derrod/legendary.git
synced 2024-11-09 10:58:32 +00:00
[cli] Fix --token not working
This commit is contained in:
parent
591039eaf3
commit
f1d815797f
|
@ -144,7 +144,7 @@ class LegendaryCLI:
|
||||||
|
|
||||||
exchange_token = ''
|
exchange_token = ''
|
||||||
auth_code = ''
|
auth_code = ''
|
||||||
if not args.auth_code and not args.session_id:
|
if not args.auth_code and not args.session_id and not args.ex_token:
|
||||||
# only import here since pywebview import is slow
|
# only import here since pywebview import is slow
|
||||||
from legendary.utils.webview_login import webview_available, do_webview_login
|
from legendary.utils.webview_login import webview_available, do_webview_login
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue