diff --git a/app/but/bulletin_but_xml_compat.py b/app/but/bulletin_but_xml_compat.py index 04e47d9716..10bec3d82d 100644 --- a/app/but/bulletin_but_xml_compat.py +++ b/app/but/bulletin_but_xml_compat.py @@ -73,9 +73,9 @@ def bulletin_but_xml_compat( results = bulletin_but.ResultatsSemestreBUT(sem) nb_inscrits = len(results.etuds) if (not sem.bul_hide_xml) or force_publishing: - published = "1" + published = 1 else: - published = "0" + published = 0 if xml_nodate: docdate = "" else: @@ -84,7 +84,7 @@ def bulletin_but_xml_compat( "etudid": str(etudid), "formsemestre_id": str(formsemestre_id), "date": docdate, - "publie": published, + "publie": str(published), } if sem.etapes: el["etape_apo"] = sem.etapes[0].etape_apo or ""