mirror of
https://codeberg.org/Mo8it/AdvLabDB.git
synced 2024-12-20 23:41:20 +00:00
Fix call of undefined function
This commit is contained in:
parent
11fbb52806
commit
b2c63c90af
1 changed files with 1 additions and 2 deletions
|
@ -1407,7 +1407,6 @@ class ImportView(SecureAdminBaseView):
|
||||||
try:
|
try:
|
||||||
importFromFile(filePath)
|
importFromFile(filePath)
|
||||||
except Exception as ex:
|
except Exception as ex:
|
||||||
if not self.handle_view_exception(ex):
|
|
||||||
flash(str(ex), "error")
|
flash(str(ex), "error")
|
||||||
|
|
||||||
return redirect(url_for("index"))
|
return redirect(url_for("index"))
|
||||||
|
|
Loading…
Reference in a new issue