diff --git a/NSLGameScanner.py b/NSLGameScanner.py index bc632df..9b87192 100644 --- a/NSLGameScanner.py +++ b/NSLGameScanner.py @@ -198,7 +198,7 @@ def get_unsigned_shortcut_id(signed_shortcut_id): 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: