Commit 4b15b9c8 authored by Mikaël Salson's avatar Mikaël Salson

controllers/ 'pre_process' does not exist when using remote files

parent d1644d68
Pipeline #20003 failed with stages
in 40 seconds
......@@ -202,7 +202,8 @@ def submit():
pre_process = None
pre_process_flag = "DONE"
if data['pre_process'] is not None and int(data['pre_process']) > 0:
if 'pre_process' in data and data['pre_process'] is not None and\
int(data['pre_process']) > 0:
pre_process = int(data['pre_process'])
pre_process_flag = "WAIT"
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment