From f0977d6ebe91e868138a5d26e985fde8a528f7cf Mon Sep 17 00:00:00 2001 From: sysmoon14 <61550824+sysmoon14@users.noreply.github.com> Date: Fri, 9 Feb 2024 09:48:35 +0000 Subject: [PATCH] Fixed missing colon --- NSLGameScanner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NSLGameScanner.py b/NSLGameScanner.py index 15978be..3882b84 100644 --- a/NSLGameScanner.py +++ b/NSLGameScanner.py @@ -269,7 +269,7 @@ def add_compat_tool(app_id, launchoptions): print(f"CompatToolMapping key not found in config.vdf, creating.") if str(app_id) in config_data['InstallConfigStore']['Software']['Valve']['Steam']['CompatToolMapping'] and config_data['InstallConfigStore']['Software']['Valve']['Steam']['CompatToolMapping'][str(app_id)]['name'] == f'{compat_tool_name}': return False - if 'chrome' in launchoptions + if 'chrome' in launchoptions: return False elif str(app_id) in config_data['InstallConfigStore']['Software']['Valve']['Steam']['CompatToolMapping']: config_data['InstallConfigStore']['Software']['Valve']['Steam']['CompatToolMapping'][str(app_id)]['name'] = f'{compat_tool_name}'