forked from ScoDoc/ScoDoc
Fix: bug export csv
This commit is contained in:
parent
b2a643705f
commit
ba7ae269a7
@ -716,7 +716,7 @@ def make_formsemestre_recapcomplet(
|
|||||||
H.append("</table>")
|
H.append("</table>")
|
||||||
return "\n".join(H), "", "html"
|
return "\n".join(H), "", "html"
|
||||||
elif format == "csv":
|
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(" ", "_")
|
semname = sem["titre_num"].replace(" ", "_")
|
||||||
date = time.strftime("%d-%m-%Y")
|
date = time.strftime("%d-%m-%Y")
|
||||||
filename = "notes_modules-%s-%s.csv" % (semname, date)
|
filename = "notes_modules-%s-%s.csv" % (semname, date)
|
||||||
|
Loading…
Reference in New Issue
Block a user