Skip to content
Permalink
Browse files

#21264 bug in saga algorithm python

(cherry picked from commit edbfb0a)
  • Loading branch information
wdedulle authored and nyalldawson committed Feb 18, 2019
1 parent 7a73e50 commit 9500d397205a817f3cbc6149f086dc161d3f80d1
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 9500d39

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