Skip to content

Commit

Permalink
Fix validity mask filename quoting in Sieve alg
Browse files Browse the repository at this point in the history
Fixes #33562
  • Loading branch information
agiudiceandrea authored and nyalldawson committed Dec 31, 2019
1 parent 5a1a743 commit fbca364
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion python/plugins/processing/algs/gdal/sieve.py
Expand Up @@ -112,7 +112,8 @@ def getConsoleCommands(self, parameters, context, feedback, executing=True):

mask = self.parameterAsRasterLayer(parameters, self.MASK_LAYER, context)
if mask:
arguments.append('-mask {}'.format(mask.source()))
arguments.append('-mask')
arguments.append(mask.source())

out = self.parameterAsOutputLayer(parameters, self.OUTPUT, context)
self.setOutputValue(self.OUTPUT, out)
Expand Down

0 comments on commit fbca364

Please sign in to comment.