1
0
Fork 0
mirror of https://codeberg.org/Mo8it/AdvLabDB.git synced 2024-09-17 18:31:15 +00:00

Non bare exception, whatever

This commit is contained in:
Mo 2023-11-04 13:29:57 +01:00
parent 26a8785d7a
commit 8514bd6668

View file

@ -31,7 +31,7 @@ def backup(backup_prefix):
flash(f"Created a database backup at the path {dest}", "success") flash(f"Created a database backup at the path {dest}", "success")
else: else:
flash("Failed to create a database backup!", "danger") flash("Failed to create a database backup!", "danger")
except: except Exception:
flash("Failed to create a database backup! Make sure that `sqlite3` is installed on your system!", "danger") flash("Failed to create a database backup! Make sure that `sqlite3` is installed on your system!", "danger")