From a76f5af3fff91471f3eb439198205134c07dc62f Mon Sep 17 00:00:00 2001 From: jean-marie Place Date: Tue, 24 Aug 2021 05:59:19 +0200 Subject: [PATCH] fix archivage xml --- app/scodoc/sco_bulletins_xml.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/scodoc/sco_bulletins_xml.py b/app/scodoc/sco_bulletins_xml.py index 982ace4e7e..fc3cda44c6 100644 --- a/app/scodoc/sco_bulletins_xml.py +++ b/app/scodoc/sco_bulletins_xml.py @@ -376,9 +376,9 @@ def make_xml_formsemestre_bulletinetud( "decision", code=code, etat=str(etat), - compense_formsemestre_id=decision["decision_sem"][ - "compense_formsemestre_id" - ], + compense_formsemestre_id=str( + decision["decision_sem"]["compense_formsemestre_id"] or "" + ), ) ) else: