mirror of
https://github.com/derrod/legendary.git
synced 2024-12-22 17:55:27 +00:00
[cli] Fix checking for game executable on import
This commit is contained in:
parent
803fc46249
commit
797598322d
|
@ -1141,7 +1141,7 @@ class LegendaryCLI:
|
||||||
logger.info(f'DLC "{game.app_title}" ("{game.app_name}") does not appear to be installed.')
|
logger.info(f'DLC "{game.app_title}" ("{game.app_name}") does not appear to be installed.')
|
||||||
return
|
return
|
||||||
|
|
||||||
if not game.is_dlc and not os.path.exists(exe_path and not args.disable_check):
|
if not game.is_dlc and not os.path.exists(exe_path) and not args.disable_check:
|
||||||
logger.error(f'Game executable could not be found at "{exe_path}", '
|
logger.error(f'Game executable could not be found at "{exe_path}", '
|
||||||
f'please verify that the specified path is correct.')
|
f'please verify that the specified path is correct.')
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in a new issue