mirror of
https://github.com/derrod/legendary.git
synced 2024-12-22 01:45:28 +00:00
[cli] Fix --token not working
This commit is contained in:
parent
591039eaf3
commit
f1d815797f
|
@ -144,7 +144,7 @@ class LegendaryCLI:
|
|||
|
||||
exchange_token = ''
|
||||
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
|
||||
from legendary.utils.webview_login import webview_available, do_webview_login
|
||||
|
||||
|
|
Loading…
Reference in a new issue