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"))