fix filename

This commit is contained in:
Jean-Marie Place 2021-10-06 13:46:29 +02:00
parent 5ac5f5eb19
commit 19586559ba

View File

@ -827,7 +827,7 @@ def feuille_saisie_notes(evaluation_id, group_ids=[]):
]
)
filename = "notes_%s_%s.xlsx" % (evalname, gr_title_filename)
filename = "notes_%s_%s" % (evalname, gr_title_filename)
xls = sco_excel.excel_feuille_saisie(E, sem["titreannee"], description, lines=L)
return scu.send_file(xls, filename, scu.XLSX_SUFFIX, mime=scu.XLSX_MIMETYPE)
# return sco_excel.send_excel_file(xls, filename)