1
0
forked from ScoDoc/ScoDoc

Merge pull request 'fix xlsx extension for exported file' (#95) from jmplace/ScoDoc-Lille:export_import_notes into ScoDoc8

Reviewed-on: https://scodoc.org/git/viennet/ScoDoc/pulls/95
This commit is contained in:
Emmanuel Viennet 2021-08-12 13:15:44 +02:00
commit 6287376efb

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)