From ac09c104e9ae0d7872b9190ceaf04813bef49d21 Mon Sep 17 00:00:00 2001 From: Emmanuel Viennet Date: Sat, 6 Nov 2021 17:58:11 +0100 Subject: [PATCH] fix route in import_infos_admissions --- app/scodoc/sco_import_etuds.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/scodoc/sco_import_etuds.py b/app/scodoc/sco_import_etuds.py index 0bd9d447..fe34484f 100644 --- a/app/scodoc/sco_import_etuds.py +++ b/app/scodoc/sco_import_etuds.py @@ -643,7 +643,7 @@ def scolars_import_admission(datafile, formsemestre_id=None, type_admission=None raise FormatError( "scolars_import_admission: colonnes nom et prenom requises", dest_url=url_for( - "notes.form_students_import_infos_admissions", + "scolar.form_students_import_infos_admissions", scodoc_dept=g.scodoc_dept, formsemestre_id=formsemestre_id, ), @@ -676,7 +676,7 @@ def scolars_import_admission(datafile, formsemestre_id=None, type_admission=None 'scolars_import_admission: valeur invalide, ligne %d colonne %s: "%s"' % (nline, field_name, line[idx]), dest_url=url_for( - "notes.form_students_import_infos_admissions", + "scolar.form_students_import_infos_admissions", scodoc_dept=g.scodoc_dept, formsemestre_id=formsemestre_id, ), @@ -762,7 +762,7 @@ def adm_get_fields(titles, formsemestre_id): 'scolars_import_admission: titre "%s" en double (ligne 1)' % (title), dest_url=url_for( - "notes.form_students_import_infos_admissions_apb", + "scolar.form_students_import_infos_admissions_apb", scodoc_dept=g.scodoc_dept, formsemestre_id=formsemestre_id, ),