mirror of
https://github.com/derrod/legendary.git
synced 2024-12-22 17:55:27 +00:00
parent
6711897750
commit
ade9080152
|
@ -772,6 +772,9 @@ class LegendaryCLI:
|
||||||
logger.info(f'Run "legendary repair {args.app_name}" to repair your game installation.')
|
logger.info(f'Run "legendary repair {args.app_name}" to repair your game installation.')
|
||||||
|
|
||||||
def import_game(self, args):
|
def import_game(self, args):
|
||||||
|
# make sure path is absolute
|
||||||
|
args.app_path = os.path.abspath(args.app_path)
|
||||||
|
|
||||||
if not os.path.exists(args.app_path):
|
if not os.path.exists(args.app_path):
|
||||||
logger.error(f'Specified path "{args.app_path}" does not exist!')
|
logger.error(f'Specified path "{args.app_path}" does not exist!')
|
||||||
exit(1)
|
exit(1)
|
||||||
|
|
Loading…
Reference in a new issue