Skip to content
Permalink
Browse files

Remove the extra argument to getConsoleCommands()

getConsoleCommands takes only 1 arg. The extra arg in the method definition causes an error when running the algorithm
  • Loading branch information
spatialthoughts committed Oct 8, 2015
1 parent 35444c4 commit b379e93b951e2c0a44ef8181c3d0b38b5b74893a
Showing with 1 addition and 1 deletion.
  1. +1 −1 python/plugins/processing/algs/gdal/rasterize_over.py
@@ -54,7 +54,7 @@ def defineCharacteristics(self):
self.addParameter(ParameterRaster(self.INPUT_RASTER,
self.tr('Existing raster layer'), False))

def getConsoleCommands(self, progress):
def getConsoleCommands(self):
inLayer = self.getParameterValue(self.INPUT)
ogrLayer = self.ogrConnectionString(inLayer)[1:-1]
inRasterLayer = self.getParameterValue(self.INPUT_RASTER)

0 comments on commit b379e93

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