Commit a8d7b01b authored by Penom Nom's avatar Penom Nom
Browse files

Correction of a bug when running the any workflow with the character " or ' in...

Correction of a bug when running the any workflow with the character " or ' in a parameter value (quoted string)
parent 9333dd5d
......@@ -107,7 +107,7 @@ class Workflow(threading.Thread):
@staticmethod
def config_parser(arg_lines):
for arg in arg_lines:
yield arg
yield arg.strip("'").strip('"')
def __setstate__(self, state):
self.__dict__ = state.copy()
......@@ -345,7 +345,7 @@ class Workflow(threading.Thread):
params, sub_order, excludes, hash_params = {}, {}, [], {}
# first grab all parameters name
for param in reader.items(parameters_section):
cvalue = reader.get(parameters_section, param[0])
cvalue = reader.get(parameters_section, param[0]).strip("'").strip('"')
cparam = param[0].split(".")[0]
ckey = ".".join(param[0].split(".")[1:])
if len(ckey.split(".")) > 1:
......
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