From feb57c2ac6a958e23a19646d13ed65ba26ef58fe Mon Sep 17 00:00:00 2001 From: Jean-Marie Place Date: Wed, 13 Oct 2021 15:27:19 +0200 Subject: [PATCH] =?UTF-8?q?redirection=20vers=20all=5Fdepts=20apres=20cr?= =?UTF-8?q?=C3=A9ation=20;=20blackify?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/scodoc/sco_users.py | 4 +++- app/views/users.py | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/app/scodoc/sco_users.py b/app/scodoc/sco_users.py index f2ca5b829..a8d15e963 100644 --- a/app/scodoc/sco_users.py +++ b/app/scodoc/sco_users.py @@ -404,7 +404,9 @@ def check_modif_user( - msg: message warning à presenter à l'utilisateur """ if ajout_en_masse: - MSG_OPT = """
Impossible de forcer l'opération lors d'une importation en masse""" + MSG_OPT = ( + """
Impossible de forcer l'opération lors d'une importation en masse""" + ) else: MSG_OPT = """
Attention: (vous pouvez forcer l'opération en cochant "Ignorer les avertissements" en bas de page)""" # ce login existe ? diff --git a/app/views/users.py b/app/views/users.py index 21ea0dea8..93687fce7 100644 --- a/app/views/users.py +++ b/app/views/users.py @@ -548,7 +548,7 @@ def import_users_form(): H.append("
  • %s
  • " % d) H.append("") if ok: - dest = url_for("users.index_html", scodoc_dept=g.scodoc_dept) + dest = url_for("users.index_html", scodoc_dept=g.scodoc_dept, all_depts=1) H.append("

    Ok, Import terminé (%s utilisateurs créés)!

    " % nb_created) H.append('

    Continuer

    ' % dest) else: