forked from ScoDoc/DocScoDoc
Fix: export recap en CSV
This commit is contained in:
parent
5aacc2db63
commit
cf83228dcb
@ -758,7 +758,9 @@ def make_formsemestre_recapcomplet(
|
||||
H.append("</table>")
|
||||
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)
|
||||
|
Loading…
Reference in New Issue
Block a user