Fix typo, bloquant archivage fichiers étudiants

This commit is contained in:
Emmanuel Viennet 2024-02-06 16:52:28 +01:00
parent ef4c2fa64b
commit 4f41ef7050
2 changed files with 2 additions and 3 deletions

View File

@ -177,8 +177,7 @@ def etud_upload_file_form(etudid):
data = tf[2]["datafile"].read() data = tf[2]["datafile"].read()
descr = tf[2]["description"] descr = tf[2]["description"]
filename = tf[2]["datafile"].filename filename = tf[2]["datafile"].filename
etud_archive_id = (etudid,) _store_etud_file_to_new_archive(etudid, data, filename, description=descr)
_store_etud_file_to_new_archive(etud_archive_id, data, filename, description=descr)
return flask.redirect(etud.url_fiche()) return flask.redirect(etud.url_fiche())

View File

@ -1,7 +1,7 @@
# -*- mode: python -*- # -*- mode: python -*-
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
SCOVERSION = "9.6.935" SCOVERSION = "9.6.936"
SCONAME = "ScoDoc" SCONAME = "ScoDoc"