Skip to content
Permalink
Browse files

fixed problem with boolean values in R scripts

git-svn-id: http://sextante.googlecode.com/svn/trunk/soft/bindings/qgis-plugin@234 881b9c09-3ef8-f3c2-ec3d-21d735c97f4d
  • Loading branch information
volayaf
volayaf committed Jun 8, 2012
1 parent 580124d commit 977c79489e3199bd244cc7373dc0b0b1d7c8f0ff
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/sextante/r/RAlgorithm.py
@@ -124,7 +124,7 @@ def processParameterLine(self,line):
elif tokens[1].lower().strip().startswith("selection"):
options = tokens[1].strip()[len("selection"):].split(";")
param = ParameterSelection(tokens[0], desc, options);
elif tokens[1].lower().strip() == "boolean":
elif tokens[1].lower().strip().startswith("boolean"):
default = tokens[1].strip()[len("boolean")+1:]
param = ParameterBoolean(tokens[0], desc, default)
elif tokens[1].lower().strip().startswith("number"):

0 comments on commit 977c794

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