chore: Update database changes application logic in utils

This commit is contained in:
Théophile Diot 2024-06-05 11:41:15 +01:00
parent 4ffaf324c4
commit 2d51d51cdb
No known key found for this signature in database
GPG key ID: FA995104A0BA376A

View file

@ -179,7 +179,7 @@ def restore_database(backup_file: Path, db: Database = None) -> Database:
LOGGER.error(f"Failed to restore the database: {proc.stderr.decode()}")
sys_exit(1)
err = db.checked_changes(value=True)
err = db.checked_changes(plugins_changes="all", value=True)
if err:
LOGGER.error(f"Error while applying changes to the database: {err}, you may need to reload the application")