Skip to content

Commit

Permalink
[cli] Fix --token not working
Browse files Browse the repository at this point in the history
  • Loading branch information
derrod committed Nov 16, 2023
1 parent 591039e commit f1d8157
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion legendary/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ def auth(self, args):

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

Expand Down

0 comments on commit f1d8157

Please sign in to comment.