mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-27 00:33:48 -05:00
[processing] fix not initialized variable
This commit is contained in:
parent
1b6b6cdb45
commit
dc9f868e08
@ -143,6 +143,7 @@ class SagaAlgorithm(SagaAlgorithmBase):
|
||||
|
||||
self.preProcessInputs()
|
||||
extent = None
|
||||
crs = None
|
||||
|
||||
# 1: Export rasters to sgrd and vectors to shp
|
||||
# Tables must be in dbf format. We check that.
|
||||
@ -272,8 +273,6 @@ class SagaAlgorithm(SagaAlgorithmBase):
|
||||
output_layers = []
|
||||
output_files = {}
|
||||
for out in self.destinationParameterDefinitions():
|
||||
# TODO
|
||||
# command += ' -' + out.name() + ' "' + out.getCompatibleFileName(self) + '"'
|
||||
filePath = self.parameterAsOutputLayer(parameters, out.name(), context)
|
||||
if isinstance(out, (QgsProcessingParameterRasterDestination, QgsProcessingParameterVectorDestination)):
|
||||
output_layers.append(filePath)
|
||||
|
Loading…
x
Reference in New Issue
Block a user