From 671ef6a7fa483692634e9eb5ccfb2265bf50d530 Mon Sep 17 00:00:00 2001 From: Emmanuel Viennet Date: Sat, 25 Sep 2021 12:35:26 +0200 Subject: [PATCH] Fix urgent: regression sur 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 d8c6810ef..720d3ea4d 100644 --- a/app/views/absences.py +++ b/app/views/absences.py @@ -1497,4 +1497,4 @@ def XMLgetAbsEtud(beg_date="", end_date=""): ) log("XMLgetAbsEtud (%gs)" % (time.time() - t0)) 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)