Commit 36eee361 authored by Mikaël Salson's avatar Mikaël Salson

controllers/file.py: f[] doesn't exist anymore

No pre_process is pre_process with ID 0
(done with @RyanHerb).
parent 5553d4ec
Pipeline #19992 failed with stages
in 42 seconds
......@@ -202,10 +202,9 @@ def submit():
pre_process = None
pre_process_flag = "DONE"
if data['pre_process'] is not None:
if f['pre_process'] != "0":
pre_process = int(f['pre_process'])
pre_process_flag = "WAIT"
if data['pre_process'] is not None and int(data['pre_process']) > 0:
pre_process = int(data['pre_process'])
pre_process_flag = "WAIT"
sets, id_dict, errors = validate_sets(data['set_ids'])
data['sets'] = sets
......
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