From ba7ae269a7652b3e39b19de7a7787223c56c3e51 Mon Sep 17 00:00:00 2001 From: viennet Date: Mon, 5 Oct 2020 22:45:32 +0200 Subject: [PATCH] Fix: bug export csv --- sco_recapcomplet.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sco_recapcomplet.py b/sco_recapcomplet.py index 9c59a0c..3a86ccd 100644 --- a/sco_recapcomplet.py +++ b/sco_recapcomplet.py @@ -716,7 +716,7 @@ def make_formsemestre_recapcomplet( H.append("") return "\n".join(H), "", "html" elif format == "csv": - CSV = CSV_LINESEP.join([CSV_FIELDSEP.join(x) for x in F]) + CSV = CSV_LINESEP.join([CSV_FIELDSEP.join(str(x)) for x in F]) semname = sem["titre_num"].replace(" ", "_") date = time.strftime("%d-%m-%Y") filename = "notes_modules-%s-%s.csv" % (semname, date)