From da4def790cc9455cee1ce0a4f440d243a7140680 Mon Sep 17 00:00:00 2001 From: Emmanuel Viennet Date: Mon, 20 Feb 2023 13:37:16 +0100 Subject: [PATCH] Fix type: cretion formation --- app/scodoc/sco_edit_formation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/scodoc/sco_edit_formation.py b/app/scodoc/sco_edit_formation.py index 14be5a28e..6209a2be4 100644 --- a/app/scodoc/sco_edit_formation.py +++ b/app/scodoc/sco_edit_formation.py @@ -162,7 +162,7 @@ def formation_edit(formation_id=None, create=False): formation: Formation = Formation.query.get_or_404(formation_id) form_dict = formation.to_dict() form_dict["commentaire"] = form_dict["commentaire"] or "" - initvalues = form_dict[0] + initvalues = form_dict is_locked = formation.has_locked_sems(formation_id) submitlabel = "Modifier les valeurs" H = [