Skip to content

Commit

Permalink
move import
Browse files Browse the repository at this point in the history
  • Loading branch information
TheoLechemia committed Aug 1, 2023
1 parent 768a352 commit 2697252
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apptax/admin/admin_view.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 2697252

Please sign in to comment.