diff --git a/app/scodoc/sco_archives.py b/app/scodoc/sco_archives.py index 773fc042..05f5f00c 100644 --- a/app/scodoc/sco_archives.py +++ b/app/scodoc/sco_archives.py @@ -362,7 +362,11 @@ def do_formsemestre_archive( # Decisions de jury, en XLS data = sco_pvjury.formsemestre_pvjury(formsemestre_id, format="xls", publish=False) 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) data, _ = sco_bulletins_pdf.get_formsemestre_bulletins_pdf( formsemestre_id, version=bulVersion