removed return

This commit is contained in:
Roy 2024-06-19 17:07:09 -07:00 committed by GitHub
parent cc2b4053ea
commit e1531369e7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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: