From b8e5dac0d6d9ee5c610920b50f5fb086dbe45219 Mon Sep 17 00:00:00 2001 From: derrod Date: Thu, 30 Dec 2021 12:49:07 +0100 Subject: [PATCH] [cli] Fix wrong argument being set during import Fixes #391 --- legendary/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/legendary/cli.py b/legendary/cli.py index 769854e..df63b4d 100644 --- a/legendary/cli.py +++ b/legendary/cli.py @@ -1222,7 +1222,7 @@ class LegendaryCLI: return # get everything needed for import from core, then run additional checks. - manifest, igame = self.core.import_game(game, args.app_path, args.platform) + manifest, igame = self.core.import_game(game, args.app_path, platform=args.platform) exe_path = os.path.join(args.app_path, manifest.meta.launch_exe.lstrip('/')) # check if most files at least exist or if user might have specified the wrong directory total = len(manifest.file_manifest_list.elements)