From 7372a953faf082072656ff14fa046af4469dc9ff Mon Sep 17 00:00:00 2001 From: Emmanuel Viennet Date: Fri, 13 Aug 2021 12:28:38 +0200 Subject: [PATCH] file suffix --- app/scodoc/sco_prepajury.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/scodoc/sco_prepajury.py b/app/scodoc/sco_prepajury.py index 46a220054..091794a3e 100644 --- a/app/scodoc/sco_prepajury.py +++ b/app/scodoc/sco_prepajury.py @@ -319,5 +319,4 @@ def feuille_preparation_jury(context, formsemestre_id, REQUEST): ) ) xls = ws.generate_standalone() - - return sco_excel.send_excel_file(REQUEST, xls, "PrepaJury%s.xlsx" % sn) + return sco_excel.send_excel_file(REQUEST, xls, f"PrepaJury{sn}{scu.XLSX_SUFFIX}")