From c84fe7858ec0363a4b72fd3af0014a41c1c05467 Mon Sep 17 00:00:00 2001 From: sysmoon14 <61550824+sysmoon14@users.noreply.github.com> Date: Thu, 8 Feb 2024 16:45:03 +0000 Subject: [PATCH] Update NSLGameScanner.py --- NSLGameScanner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NSLGameScanner.py b/NSLGameScanner.py index a7f2cf2..7702f2f 100644 --- a/NSLGameScanner.py +++ b/NSLGameScanner.py @@ -502,7 +502,7 @@ if os.path.exists(os.path.join(compatdata_dir, 'NonSteamLaunchers')): # Print the existing shortcuts print("Existing Shortcuts:") for shortcut in shortcuts['shortcuts'].values(): - if appname is None: + if shortcut.get('appname') is None: print(f"AppID for {shortcut.get('AppName')}: {shortcut.get('appid')}") else: print(f"AppID for {shortcut.get('appname')}: {shortcut.get('appid')}")