Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[processing] fix parsing of selection options in scripts
  • Loading branch information
alexbruy committed Sep 14, 2013
1 parent 3c8cfd0 commit fbedfae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/plugins/processing/script/ScriptAlgorithm.py
Expand Up @@ -133,7 +133,7 @@ def processParameterLine(self,line):
param = ParameterMultipleInput(tokens[0], desc, ParameterMultipleInput.TYPE_VECTOR_ANY)
param.optional = False
elif tokens[1].lower().strip().startswith("selection"):
options = tokens[1].strip()[len("selection"):].split(";")
options = tokens[1].strip()[len("selection "):].split(";")
param = ParameterSelection(tokens[0], desc, options);
elif tokens[1].lower().strip().startswith("boolean"):
default = tokens[1].strip()[len("boolean")+1:]
Expand Down

0 comments on commit fbedfae

Please sign in to comment.