mirror of
https://github.com/derrod/legendary.git
synced 2024-12-22 17:55:27 +00:00
[cli] Fix offline flag
This commit is contained in:
parent
ba7133d7d6
commit
63ff306fbf
|
@ -132,7 +132,7 @@ class LegendaryCLI:
|
||||||
exit(1)
|
exit(1)
|
||||||
|
|
||||||
# override with config value
|
# override with config value
|
||||||
args.offline = self.core.is_offline_game(app_name)
|
args.offline = self.core.is_offline_game(app_name) or args.offline
|
||||||
if not args.offline:
|
if not args.offline:
|
||||||
logger.info('Logging in...')
|
logger.info('Logging in...')
|
||||||
if not self.core.login():
|
if not self.core.login():
|
||||||
|
|
Loading…
Reference in a new issue