From e8e1d2f2bb282db7dbc5dcdf44550143a3d29759 Mon Sep 17 00:00:00 2001 From: Jean-Marie Place Date: Thu, 12 Aug 2021 11:11:18 +0200 Subject: [PATCH] fix xlsx extension for exported file --- 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 0c6b8a5f6..472ac28a5 100644 --- a/app/scodoc/sco_saisie_notes.py +++ b/app/scodoc/sco_saisie_notes.py @@ -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) return sco_excel.send_excel_file(REQUEST, xls, filename)