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:
parent
26a8785d7a
commit
8514bd6668
1 changed files with 1 additions and 1 deletions
|
@ -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")
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue