From 19586559bae7b07aa659a4d13960e51ef2dadcf9 Mon Sep 17 00:00:00 2001 From: Jean-Marie Place Date: Wed, 6 Oct 2021 13:46:29 +0200 Subject: [PATCH] fix filename --- app/scodoc/sco_saisie_notes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/scodoc/sco_saisie_notes.py b/app/scodoc/sco_saisie_notes.py index 59a1d6d9..c4c60d81 100644 --- a/app/scodoc/sco_saisie_notes.py +++ b/app/scodoc/sco_saisie_notes.py @@ -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)