Commit 351581d6 authored by Mikaël Salson's avatar Mikaël Salson Committed by Vidjil Team
Browse files

file.py: logging upload()

parent 1fc63c74
......@@ -126,6 +126,11 @@ def upload():
if error=="" :
mes = "file " + request.vars['id'] + " : "
res = {"message": mes + ": processing uploaded file",
"redirect": "patient/info",
"args" : {"id" : request.vars['id']}
}
log.info(res)
if request.vars.file != None :
f = request.vars.file
db.sequence_file[request.vars["id"]] = dict(data_file = db.sequence_file.data_file.store(f.file, f.filename))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment