Skip to content
Permalink
Browse files

[processing] fix not initialized variable

  • Loading branch information
alexbruy committed Nov 6, 2017
1 parent 1b6b6cd commit dc9f868e0876c3c69bd25c958aad09fed2aed4a4
Showing with 1 addition and 2 deletions.
  1. +1 −2 python/plugins/processing/algs/saga/SagaAlgorithm.py
@@ -143,6 +143,7 @@ def processAlgorithm(self, parameters, context, feedback):

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 @@ def processAlgorithm(self, parameters, context, feedback):
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)

0 comments on commit dc9f868

Please sign in to comment.
You can’t perform that action at this time.