Commit a64c85cc authored by Mikaël Salson's avatar Mikaël Salson Committed by Vidjil Team
Browse files upload error message

Don't display the “no data file” message if we already had an error.
parent 55694756
......@@ -170,7 +170,7 @@ def upload():
data_file = db.sequence_file[request.vars["id"]].data_file
if data_file is None:
if len(error) == 0 and data_file is None:
error += "no data file"
if not error:
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