From b2c63c90afd11298178813779266a0a21218f6e7 Mon Sep 17 00:00:00 2001 From: Mo8it Date: Wed, 18 May 2022 01:07:27 +0200 Subject: [PATCH] Fix call of undefined function --- advlabdb/adminModelViews.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/advlabdb/adminModelViews.py b/advlabdb/adminModelViews.py index a9e114d..1553395 100644 --- a/advlabdb/adminModelViews.py +++ b/advlabdb/adminModelViews.py @@ -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"))