Skip to content

Commit dc9f868

Browse files
committedNov 9, 2017
[processing] fix not initialized variable
1 parent 1b6b6cd commit dc9f868

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed
 

‎python/plugins/processing/algs/saga/SagaAlgorithm.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,7 @@ def processAlgorithm(self, parameters, context, feedback):
143143

144144
self.preProcessInputs()
145145
extent = None
146+
crs = None
146147

147148
# 1: Export rasters to sgrd and vectors to shp
148149
# Tables must be in dbf format. We check that.
@@ -272,8 +273,6 @@ def processAlgorithm(self, parameters, context, feedback):
272273
output_layers = []
273274
output_files = {}
274275
for out in self.destinationParameterDefinitions():
275-
# TODO
276-
# command += ' -' + out.name() + ' "' + out.getCompatibleFileName(self) + '"'
277276
filePath = self.parameterAsOutputLayer(parameters, out.name(), context)
278277
if isinstance(out, (QgsProcessingParameterRasterDestination, QgsProcessingParameterVectorDestination)):
279278
output_layers.append(filePath)

0 commit comments

Comments
 (0)
Please sign in to comment.