Skip to content

Commit

Permalink
[processing] do not export sdat files provided as part of a multiple …
Browse files Browse the repository at this point in the history
…raster input

fixes #22131
  • Loading branch information
volaya committed May 23, 2019
1 parent 3794613 commit eb8d42d
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 @@ -225,7 +225,7 @@ def processAlgorithm(self, parameters, context, feedback):
for i, layer in enumerate(layers):
if layer.source().lower().endswith('sdat'):
files.append(layer.source()[:-4] + 'sgrd')
if layer.source().lower().endswith('sgrd'):
elif layer.source().lower().endswith('sgrd'):
files.append(layer.source())
else:
exportCommand = self.exportRasterLayer(param.name(), layer)
Expand Down

0 comments on commit eb8d42d

Please sign in to comment.