Update NSLGameScanner.py

This commit is contained in:
sysmoon14 2024-02-08 16:45:03 +00:00 committed by GitHub
parent b94598f8de
commit c84fe7858e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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')}")