Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[SAGA] Fix saga_cmd command with multiple outputs
Fixes a regression bug accidentally introduced with 40134d6 (PR #8968) and backported with a887b7d (PR #9231): when there are multiple output parameters processAlgorithm incorrectly generates multiple saga_cmd commands, instead of a single command containing the output parameters.

Fixes #33658
  • Loading branch information
agiudiceandrea authored and nyalldawson committed Jan 13, 2020
1 parent 40b102f commit 0d4d825
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/plugins/processing/algs/saga/SagaAlgorithm.py
Expand Up @@ -326,7 +326,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

0 comments on commit 0d4d825

Please sign in to comment.