mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-14 00:07:35 -04:00
[processing] fixed handling of bool values in saga 213
This commit is contained in:
parent
05f6e9973c
commit
73f184e2e8
@ -136,9 +136,9 @@ class SagaAlgorithm213(SagaAlgorithm212):
|
||||
command += ' -' + param.name + ' "' + s + '"'
|
||||
elif isinstance(param, ParameterBoolean):
|
||||
if param.value:
|
||||
command += ' -' + param.name + "=true"
|
||||
command += ' -' + param.name.strip() + " true"
|
||||
else:
|
||||
command += ' -' + param.name + "=false"
|
||||
command += ' -' + param.name.strip() + " false"
|
||||
elif isinstance(param, ParameterFixedTable):
|
||||
tempTableFile = getTempFilename('txt')
|
||||
f = open(tempTableFile, 'w')
|
||||
|
Loading…
x
Reference in New Issue
Block a user