Update NSLGameScanner.py

This commit is contained in:
Roy 2024-07-15 20:46:00 -07:00 committed by GitHub
parent b369197ae6
commit 1c027a67b2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1277,6 +1277,10 @@ if new_shortcuts_added or shortcuts_updated:
except IOError as e:
print(f"Error writing to shortcuts.vdf: {e}")
# Reset the flags
new_shortcuts_added = False
shortcuts_updated = False
# Print the created shortcuts
if created_shortcuts:
print("Created Shortcuts:")