Commit ed4dd98d authored by Janez K's avatar Janez K
Browse files

fix problem with multiple inputs and required

parent 19e010b6
......@@ -999,7 +999,7 @@ def run_widget(request):
if (w.workflow.user==request.user):
# find all required inputs
for inp in w.inputs.filter(required=True,parameter=False):
for inp in w.inputs.filter(required=True,parameter=False,multi=False):
if inp.connections.count()==0:
raise Exception("The input "+str(inp)+" must have something connected to it in order to run.")
if w.type == 'for_input' or w.type == 'for_output':
Supports Markdown
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