Commit 78d5ec6e authored by flothoni's avatar flothoni
Browse files

controller/default.py: remove a limit to at least 2 elt to load a custom analysis

link to #2726
parent d1b67696
Pipeline #37959 passed with stages
in 4 minutes and 19 seconds
......@@ -358,8 +358,8 @@ def get_custom_data():
if not "custom" in request.vars :
error += "no file selected, "
else:
if type(request.vars['custom']) is not list or len(request.vars['custom']) < 2:
error += "you must select several files."
if type(request.vars['custom']) is not list:
error += "list format of file incorrect."
else:
for id in request.vars["custom"] :
log.debug("id = '%s'" % str(id))
......
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