From 6880c5bf540e93ad593dcd28cfeb892ed7472cae Mon Sep 17 00:00:00 2001 From: Emmanuel Viennet Date: Sat, 11 Sep 2021 21:54:53 +0200 Subject: [PATCH] fix XMLgetAbsEtud --- app/views/absences.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/absences.py b/app/views/absences.py index 294856bd..5896287d 100644 --- a/app/views/absences.py +++ b/app/views/absences.py @@ -1490,7 +1490,7 @@ def XMLgetAbsEtud(beg_date="", end_date="", REQUEST=None): REQUEST.RESPONSE.setHeader("content-type", scu.XML_MIMETYPE) doc = ElementTree.Element( - "absences", etudid=etud["etudid"], beg_date=beg_date, end_date=end_date + "absences", etudid=str(etud["etudid"]), beg_date=beg_date, end_date=end_date ) for a in Abs: if a["estabs"]: # ne donne pas les justifications si pas d'absence