Skip to content

Commit

Permalink
[processing] fixed SAGA command writing and test
Browse files Browse the repository at this point in the history
  • Loading branch information
volaya committed Feb 21, 2019
1 parent aa02e9f commit 40134d6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions python/plugins/processing/algs/saga/SagaAlgorithm.py
Expand Up @@ -321,8 +321,7 @@ def processAlgorithm(self, parameters, context, feedback):

output_files[out.name()] = filePath
command += ' -{} "{}"'.format(out.name(), filePath)

commands.append(command)
commands.append(command)

# special treatment for RGB algorithm
# TODO: improve this and put this code somewhere else
Expand Down
2 changes: 1 addition & 1 deletion python/plugins/processing/tests/SagaAlgorithmsTest.py
Expand Up @@ -122,7 +122,7 @@ def test_non_ascii_output(self):
'DIST_FIELD_DEFAULT': 5,
'NZONES': 1,
'DARC': 5,
'DISSOLVE': True,
'DISSOLVE': False,
'POLY_INNER': False,
'BUFFER': temp_file}
feedback = QgsProcessingFeedback()
Expand Down

0 comments on commit 40134d6

Please sign in to comment.