From 6eef66e48268cda564c74cd75465f5f5e12f5bc2 Mon Sep 17 00:00:00 2001 From: Emmanuel Viennet Date: Sun, 17 Jul 2022 20:09:42 +0200 Subject: [PATCH] =?UTF-8?q?Fix:=20=C3=A9tapes=20apo=20cr=C3=A9ation=20form?= =?UTF-8?q?semestre?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/scodoc/sco_formsemestre_edit.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/scodoc/sco_formsemestre_edit.py b/app/scodoc/sco_formsemestre_edit.py index ab96e1468..bbf80097d 100644 --- a/app/scodoc/sco_formsemestre_edit.py +++ b/app/scodoc/sco_formsemestre_edit.py @@ -746,7 +746,7 @@ def do_formsemestre_createwithmodules(edit=False): if ndb.DateDMYtoISO(tf[2]["date_debut"]) > ndb.DateDMYtoISO(tf[2]["date_fin"]): msg = '' if sco_preferences.get_preference("always_require_apo_sem_codes") and not any( - [tf[2]["etape_apo" + str(n)] for n in range(0, scu.EDIT_NB_ETAPES + 1)] + [tf[2]["etape_apo" + str(n)] for n in range(1, scu.EDIT_NB_ETAPES + 1)] ): msg = ''