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

Fix call of undefined function

This commit is contained in:
Mo 2022-05-18 01:07:27 +02:00
parent 11fbb52806
commit b2c63c90af

View file

@ -1407,8 +1407,7 @@ class ImportView(SecureAdminBaseView):
try:
importFromFile(filePath)
except Exception as ex:
if not self.handle_view_exception(ex):
flash(str(ex), "error")
flash(str(ex), "error")
return redirect(url_for("index"))