1
0
forked from ScoDoc/ScoDoc

Merge branch 'scodoc-master' into pe-BUT-v2

This commit is contained in:
Cléo Baras 2024-02-06 18:58:14 +01:00
commit 719d14673d
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.934" SCOVERSION = "9.6.936"
SCONAME = "ScoDoc" SCONAME = "ScoDoc"