From e1531369e7b7c0d20c5dd8c8babf4130a26dfab8 Mon Sep 17 00:00:00 2001 From: Roy <88516395+moraroy@users.noreply.github.com> Date: Wed, 19 Jun 2024 17:07:09 -0700 Subject: [PATCH] removed return --- NSLGameScanner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NSLGameScanner.py b/NSLGameScanner.py index bc632df..9b87192 100644 --- a/NSLGameScanner.py +++ b/NSLGameScanner.py @@ -198,7 +198,7 @@ else: except Exception as e: print(f"Error reading shortcuts file: {e}") print("Please check the file and try again.") - return + sys.exit() # Exit the script if an error occurs # Check data integrity before writing to file if shortcuts and isinstance(shortcuts, dict) and 'shortcuts' in shortcuts: