From 4c8d74cd8fc8845deafcfeec0c5374ec003120da Mon Sep 17 00:00:00 2001 From: Emmanuel Viennet Date: Mon, 13 Feb 2023 16:07:46 +0100 Subject: [PATCH] Fix typo (export table xls) --- app/scodoc/sco_recapcomplet.py | 4 +++- sco_version.py | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/app/scodoc/sco_recapcomplet.py b/app/scodoc/sco_recapcomplet.py index 85ca0042..1885049d 100644 --- a/app/scodoc/sco_recapcomplet.py +++ b/app/scodoc/sco_recapcomplet.py @@ -277,7 +277,9 @@ def _formsemestre_recapcomplet_to_file( include_evaluations=include_evaluations, filename=filename, ) - return scu.send_file(data, filename=filename, mime=scu.get_mime_suffix(format)) + return scu.send_file( + data, filename=filename, mime=scu.get_mime_suffix(tabformat) + ) elif tabformat == "xml": data = gen_formsemestre_recapcomplet_xml( formsemestre.id, diff --git a/sco_version.py b/sco_version.py index 47749083..254a8557 100644 --- a/sco_version.py +++ b/sco_version.py @@ -1,7 +1,7 @@ # -*- mode: python -*- # -*- coding: utf-8 -*- -SCOVERSION = "9.4.42" +SCOVERSION = "9.4.43" SCONAME = "ScoDoc"