Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
#21264 bug in saga algorithm python
  • Loading branch information
wdedulle committed Feb 18, 2019
1 parent 377040a commit edbfb0a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/plugins/processing/algs/saga/SagaAlgorithm.py
Expand Up @@ -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()])
Expand Down

0 comments on commit edbfb0a

Please sign in to comment.