Fix typo (export table xls)

This commit is contained in:
Emmanuel Viennet 2023-02-13 16:07:46 +01:00 committed by iziram
parent f78653c184
commit 84a333c6d9
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"