Skip to content

Commit

Permalink
[processing] fixed handling of bool values in saga 213
Browse files Browse the repository at this point in the history
  • Loading branch information
volaya committed Jan 15, 2015
1 parent 05f6e99 commit 73f184e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/plugins/processing/algs/saga/SagaAlgorithm213.py
Expand Up @@ -136,9 +136,9 @@ def processAlgorithm(self, progress):
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')
Expand Down

0 comments on commit 73f184e

Please sign in to comment.