forked from ScoDoc/ScoDoc
Fix: archivage PV: bug encoding
This commit is contained in:
parent
fa3ea025ed
commit
aa138133dc
@ -362,7 +362,11 @@ def do_formsemestre_archive(
|
|||||||
# Decisions de jury, en XLS
|
# Decisions de jury, en XLS
|
||||||
data = sco_pvjury.formsemestre_pvjury(formsemestre_id, format="xls", publish=False)
|
data = sco_pvjury.formsemestre_pvjury(formsemestre_id, format="xls", publish=False)
|
||||||
if data:
|
if data:
|
||||||
PVArchive.store(archive_id, "Decisions_Jury" + scu.XLSX_SUFFIX, data)
|
PVArchive.store(
|
||||||
|
archive_id,
|
||||||
|
"Decisions_Jury" + scu.XLSX_SUFFIX,
|
||||||
|
data.encode(scu.SCO_ENCODING),
|
||||||
|
)
|
||||||
# Classeur bulletins (PDF)
|
# Classeur bulletins (PDF)
|
||||||
data, _ = sco_bulletins_pdf.get_formsemestre_bulletins_pdf(
|
data, _ = sco_bulletins_pdf.get_formsemestre_bulletins_pdf(
|
||||||
formsemestre_id, version=bulVersion
|
formsemestre_id, version=bulVersion
|
||||||
|
Loading…
Reference in New Issue
Block a user