Skip to content
Permalink
Browse files

Merge pull request #9194 from wdedulle/master

Fix saga algorithm when QgsProcessingParameterMultipleLayers. Fixes #21264
  • Loading branch information
luipir committed Feb 18, 2019
2 parents 377040a + edbfb0a commit 6872ce7f32856965cc8f0b923238cfa3ac2a9d2c
Showing with 2 additions and 2 deletions.
  1. +2 −2 python/plugins/processing/algs/saga/SagaAlgorithm.py
@@ -214,9 +214,9 @@ def processAlgorithm(self, parameters, context, feedback):
files = []
for i, layer in enumerate(layers):
if layer.source().lower().endswith('sdat'):
files.append(parameters[param.name()].source()[:-4] + 'sgrd')
files.append(layer.source()[:-4] + 'sgrd')
if layer.source().lower().endswith('sgrd'):
files.append(parameters[param.name()].source())
files.append(layer.source())
else:
exportCommand = self.exportRasterLayer(param.name(), layer)
files.append(self.exportedLayers[param.name()])

0 comments on commit 6872ce7

Please sign in to comment.
You can’t perform that action at this time.