forked from ScoDoc/ScoDoc
fix XMLgetAbsEtud
This commit is contained in:
parent
4bb79e6853
commit
6880c5bf54
@ -1490,7 +1490,7 @@ def XMLgetAbsEtud(beg_date="", end_date="", REQUEST=None):
|
|||||||
|
|
||||||
REQUEST.RESPONSE.setHeader("content-type", scu.XML_MIMETYPE)
|
REQUEST.RESPONSE.setHeader("content-type", scu.XML_MIMETYPE)
|
||||||
doc = ElementTree.Element(
|
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:
|
for a in Abs:
|
||||||
if a["estabs"]: # ne donne pas les justifications si pas d'absence
|
if a["estabs"]: # ne donne pas les justifications si pas d'absence
|
||||||
|
Loading…
Reference in New Issue
Block a user