From 2697252ed1e6b7e9ddceffe970f3bf0c73793c7b Mon Sep 17 00:00:00 2001 From: TheoLechemia Date: Tue, 1 Aug 2023 10:48:02 +0200 Subject: [PATCH] move import --- apptax/admin/admin_view.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apptax/admin/admin_view.py b/apptax/admin/admin_view.py index b909438e..1c954cba 100644 --- a/apptax/admin/admin_view.py +++ b/apptax/admin/admin_view.py @@ -50,6 +50,7 @@ from apptax.admin.utils import taxref_media_file_name, get_user_permission from pypnusershub.utils import get_current_app_id from apptax.admin.admin import adresses +from apptax.admin.utils import PopulateBibListeException, populate_bib_liste class FlaskAdminProtectedMixin: @@ -171,7 +172,6 @@ def import_cd_nom_view(self, *args, **kwargs): delimiter = request.form.get("delimiter", default=",") with_header = request.form.get("with_header", default=False) file = request.files["upload"] - from .utils import PopulateBibListeException, populate_bib_liste try: populate_bib_liste(id_list, delimiter, with_header, file)