Skip to content

Commit

Permalink
Remove the extra argument to getConsoleCommands()
Browse files Browse the repository at this point in the history
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 b379e93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/plugins/processing/algs/gdal/rasterize_over.py
Expand Up @@ -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)
Expand Down

0 comments on commit b379e93

Please sign in to comment.