From cf83228dcb645d6b27355023a266b41561ebeea2 Mon Sep 17 00:00:00 2001 From: Emmanuel Viennet Date: Tue, 16 Feb 2021 15:22:50 +0100 Subject: [PATCH] Fix: export recap en CSV --- sco_recapcomplet.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sco_recapcomplet.py b/sco_recapcomplet.py index 1edfb54ce..90e1832f4 100644 --- a/sco_recapcomplet.py +++ b/sco_recapcomplet.py @@ -758,7 +758,9 @@ def make_formsemestre_recapcomplet( H.append("") return "\n".join(H), "", "html" elif format == "csv": - CSV = scu.CSV_LINESEP.join([scu.CSV_FIELDSEP.join(str(x)) for x in F]) + CSV = scu.CSV_LINESEP.join( + [scu.CSV_FIELDSEP.join([str(x) for x in l]) for l in F] + ) semname = sem["titre_num"].replace(" ", "_") date = time.strftime("%d-%m-%Y") filename = "notes_modules-%s-%s.csv" % (semname, date)