1
0
forked from ScoDoc/ScoDoc

fix xlsx extension for exported file

This commit is contained in:
Jean-Marie Place 2021-08-12 11:11:18 +02:00
parent 09d131a85d
commit e8e1d2f2bb

View File

@ -804,7 +804,7 @@ def feuille_saisie_notes(context, evaluation_id, group_ids=[], REQUEST=None):
] ]
) )
filename = "notes_%s_%s.xls" % (evalname, gr_title_filename) filename = "notes_%s_%s.xlsx" % (evalname, gr_title_filename)
xls = sco_excel.excel_feuille_saisie(E, sem["titreannee"], description, lines=L) xls = sco_excel.excel_feuille_saisie(E, sem["titreannee"], description, lines=L)
return sco_excel.send_excel_file(REQUEST, xls, filename) return sco_excel.send_excel_file(REQUEST, xls, filename)