1
0
forked from ScoDoc/ScoDoc

Fix urgent: regression sur XMLgetAbsEtud

This commit is contained in:
Emmanuel Viennet 2021-09-25 12:35:26 +02:00
parent edc6da3005
commit 671ef6a7fa

View File

@ -1497,4 +1497,4 @@ def XMLgetAbsEtud(beg_date="", end_date=""):
) )
log("XMLgetAbsEtud (%gs)" % (time.time() - t0)) log("XMLgetAbsEtud (%gs)" % (time.time() - t0))
data = sco_xml.XML_HEADER + ElementTree.tostring(doc).decode(scu.SCO_ENCODING) data = sco_xml.XML_HEADER + ElementTree.tostring(doc).decode(scu.SCO_ENCODING)
scu.send_file(data, mime=scu.XML_MIMETYPE, attached=False) return scu.send_file(data, mime=scu.XML_MIMETYPE, attached=False)