Skip to content

Commit fbedfae

Browse files
committedSep 14, 2013
[processing] fix parsing of selection options in scripts
1 parent 3c8cfd0 commit fbedfae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎python/plugins/processing/script/ScriptAlgorithm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ def processParameterLine(self,line):
133133
param = ParameterMultipleInput(tokens[0], desc, ParameterMultipleInput.TYPE_VECTOR_ANY)
134134
param.optional = False
135135
elif tokens[1].lower().strip().startswith("selection"):
136-
options = tokens[1].strip()[len("selection"):].split(";")
136+
options = tokens[1].strip()[len("selection "):].split(";")
137137
param = ParameterSelection(tokens[0], desc, options);
138138
elif tokens[1].lower().strip().startswith("boolean"):
139139
default = tokens[1].strip()[len("boolean")+1:]

0 commit comments

Comments
 (0)
Please sign in to comment.