1
0
Fork 0
mirror of https://codeberg.org/Mo8it/AdvLabDB.git synced 2024-12-04 22:40:30 +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")
else:
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")