Commit 72025567 authored by Ryan Herbert's avatar Ryan Herbert

sample_set.py fix redirect: wrong bracket position

a bracket was placed in the wrong place and causing issues.
parent 36eee361
Pipeline #19993 failed with stages
in 39 seconds
......@@ -510,7 +510,7 @@ def submit():
msg = "successfully added/edited set(s)"
if sum_sets == 1:
res = {"redirect": "sample_set/index",
"args": { "id": data[length_mapping[max_num][0]]['sample_set_id']},
"args": { "id": data[length_mapping[max_num]][0]['sample_set_id']},
"message": msg}
else:
res = {"redirect": "sample_set/all",
......
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