Skip to content
Permalink
Browse files

[processing] fix parsing of selection options in scripts

  • Loading branch information
alexbruy committed Sep 14, 2013
1 parent 3c8cfd0 commit fbedfae8ef7267cfd1c7c62e019fbf3be6778a57
Showing with 1 addition and 1 deletion.
  1. +1 −1 python/plugins/processing/script/ScriptAlgorithm.py
@@ -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:]

0 comments on commit fbedfae

Please sign in to comment.
You can’t perform that action at this time.