Skip to content

Commit 73f184e

Browse files
committed
[processing] fixed handling of bool values in saga 213
1 parent 05f6e99 commit 73f184e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

python/plugins/processing/algs/saga/SagaAlgorithm213.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -136,9 +136,9 @@ def processAlgorithm(self, progress):
136136
command += ' -' + param.name + ' "' + s + '"'
137137
elif isinstance(param, ParameterBoolean):
138138
if param.value:
139-
command += ' -' + param.name + "=true"
139+
command += ' -' + param.name.strip() + " true"
140140
else:
141-
command += ' -' + param.name + "=false"
141+
command += ' -' + param.name.strip() + " false"
142142
elif isinstance(param, ParameterFixedTable):
143143
tempTableFile = getTempFilename('txt')
144144
f = open(tempTableFile, 'w')

0 commit comments

Comments
 (0)