Skip to content
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/
@@ -54,7 +54,7 @@ def defineCharacteristics(self):
self.addParameter(ParameterRaster(self.INPUT_RASTER,'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.