Skip to content

Commit

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

fixes #22131
  • Loading branch information
volaya authored and nyalldawson committed May 23, 2019
1 parent f0f0790 commit 94e1328
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 @@ -221,7 +221,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 94e1328

Please sign in to comment.