Skip to content

Commit 977c794

Browse files
author
volayaf
committed
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
1 parent 580124d commit 977c794

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sextante/r/RAlgorithm.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ def processParameterLine(self,line):
124124
elif tokens[1].lower().strip().startswith("selection"):
125125
options = tokens[1].strip()[len("selection"):].split(";")
126126
param = ParameterSelection(tokens[0], desc, options);
127-
elif tokens[1].lower().strip() == "boolean":
127+
elif tokens[1].lower().strip().startswith("boolean"):
128128
default = tokens[1].strip()[len("boolean")+1:]
129129
param = ParameterBoolean(tokens[0], desc, default)
130130
elif tokens[1].lower().strip().startswith("number"):

0 commit comments

Comments
 (0)