From b379e93b951e2c0a44ef8181c3d0b38b5b74893a Mon Sep 17 00:00:00 2001 From: Ujaval Gandhi Date: Thu, 8 Oct 2015 20:29:40 +0530 Subject: [PATCH] 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 --- python/plugins/processing/algs/gdal/rasterize_over.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/plugins/processing/algs/gdal/rasterize_over.py b/python/plugins/processing/algs/gdal/rasterize_over.py index 1f2e76ac785..4bd0a88e9b6 100644 --- a/python/plugins/processing/algs/gdal/rasterize_over.py +++ b/python/plugins/processing/algs/gdal/rasterize_over.py @@ -54,7 +54,7 @@ class rasterize_over(OgrAlgorithm): 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)