From 1c027a67b298e4443471d55f69ea8ff3bbdec2ee Mon Sep 17 00:00:00 2001 From: Roy <88516395+moraroy@users.noreply.github.com> Date: Mon, 15 Jul 2024 20:46:00 -0700 Subject: [PATCH] Update NSLGameScanner.py --- NSLGameScanner.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/NSLGameScanner.py b/NSLGameScanner.py index 97fb168..7c4e007 100644 --- a/NSLGameScanner.py +++ b/NSLGameScanner.py @@ -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:")