From 3dbdd048cd94e058f82dbe88b474a273fdc7c474 Mon Sep 17 00:00:00 2001 From: Fabian Dill Date: Fri, 17 May 2024 12:19:41 +0200 Subject: [PATCH] Core: prevent "Could not find identify Component responsible for None" from being logged. (#3225) --- Launcher.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Launcher.py b/Launcher.py index 6426380d..503ad5f8 100644 --- a/Launcher.py +++ b/Launcher.py @@ -259,7 +259,7 @@ def main(args: Optional[Union[argparse.Namespace, dict]] = None): elif not args: args = {} - if "Patch|Game|Component" in args: + if args.get("Patch|Game|Component", None) is not None: file, component = identify(args["Patch|Game|Component"]) if file: args['file'] = file