[processing] fixed handling of bool values in saga 213

This commit is contained in:
volaya 2014-12-22 09:08:42 +01:00
parent 05f6e9973c
commit 73f184e2e8

View File

@ -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')