Fix typo (export table xls)

This commit is contained in:
Emmanuel Viennet 2023-02-13 16:07:46 +01:00
parent 02149daad7
commit 4c8d74cd8f
2 changed files with 4 additions and 2 deletions

View File

@ -277,7 +277,9 @@ def _formsemestre_recapcomplet_to_file(
include_evaluations=include_evaluations, include_evaluations=include_evaluations,
filename=filename, filename=filename,
) )
return scu.send_file(data, filename=filename, mime=scu.get_mime_suffix(format)) return scu.send_file(
data, filename=filename, mime=scu.get_mime_suffix(tabformat)
)
elif tabformat == "xml": elif tabformat == "xml":
data = gen_formsemestre_recapcomplet_xml( data = gen_formsemestre_recapcomplet_xml(
formsemestre.id, formsemestre.id,

View File

@ -1,7 +1,7 @@
# -*- mode: python -*- # -*- mode: python -*-
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
SCOVERSION = "9.4.42" SCOVERSION = "9.4.43"
SCONAME = "ScoDoc" SCONAME = "ScoDoc"