mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-13 00:03:09 -04:00
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
This commit is contained in:
parent
35444c4631
commit
b379e93b95
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user