From 4f41ef7050b1bad06e6f1470236c8d70af6a0ac0 Mon Sep 17 00:00:00 2001 From: Emmanuel Viennet Date: Tue, 6 Feb 2024 16:52:28 +0100 Subject: [PATCH] =?UTF-8?q?Fix=20typo,=20bloquant=20archivage=20fichiers?= =?UTF-8?q?=20=C3=A9tudiants?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/scodoc/sco_archives_etud.py | 3 +-- sco_version.py | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/app/scodoc/sco_archives_etud.py b/app/scodoc/sco_archives_etud.py index 19dbf70a..da1fcbb9 100644 --- a/app/scodoc/sco_archives_etud.py +++ b/app/scodoc/sco_archives_etud.py @@ -177,8 +177,7 @@ def etud_upload_file_form(etudid): data = tf[2]["datafile"].read() descr = tf[2]["description"] filename = tf[2]["datafile"].filename - etud_archive_id = (etudid,) - _store_etud_file_to_new_archive(etud_archive_id, data, filename, description=descr) + _store_etud_file_to_new_archive(etudid, data, filename, description=descr) return flask.redirect(etud.url_fiche()) diff --git a/sco_version.py b/sco_version.py index a7caaf3b..7b00890a 100644 --- a/sco_version.py +++ b/sco_version.py @@ -1,7 +1,7 @@ # -*- mode: python -*- # -*- coding: utf-8 -*- -SCOVERSION = "9.6.935" +SCOVERSION = "9.6.936" SCONAME = "ScoDoc"