Skip to content
Permalink
Browse files

Merge pull request #5265 from alexbruy/fix-rasterize

[processing] fix Python error in rasterize algorithms
  • Loading branch information
alexbruy committed Sep 28, 2017
2 parents 7de9078 + 2116a60 commit 7afddf26b315caea46a2858bcd3d9c12a5d82988
@@ -202,4 +202,7 @@ def getConsoleCommands(self):
arguments.append(ogrLayer)

arguments.append(unicode(self.getOutputValue(self.OUTPUT)))
if None in arguments:
return ['gdal_rasterize']

return ['gdal_rasterize', GdalUtils.escapeAndJoin(arguments)]
@@ -77,4 +77,6 @@ def getConsoleCommands(self):
arguments.append(ogrLayer)
arguments.append(ogrRasterLayer)

if None in arguments:
return ['gdal_rasterize']
return ['gdal_rasterize', GdalUtils.escapeAndJoin(arguments)]

0 comments on commit 7afddf2

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