Skip to content

Commit 5aaeca2

Browse files
github-actions[bot]nyalldawson
authored andcommittedMay 28, 2020
Fix incorrect "layer could not be generated" message after running gdal warp algorithm
1 parent 4fe5780 commit 5aaeca2

File tree

1 file changed

+0
-2
lines changed
  • python/plugins/processing/algs/gdal

1 file changed

+0
-2
lines changed
 

‎python/plugins/processing/algs/gdal/warp.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,8 +175,6 @@ def getConsoleCommands(self, parameters, context, feedback, executing=True):
175175
if inLayer is None:
176176
raise QgsProcessingException(self.invalidRasterError(parameters, self.INPUT))
177177

178-
out = self.parameterAsOutputLayer(parameters, self.OUTPUT, context)
179-
self.setOutputValue(self.OUTPUT, out)
180178
sourceCrs = self.parameterAsCrs(parameters, self.SOURCE_CRS, context)
181179
targetCrs = self.parameterAsCrs(parameters, self.TARGET_CRS, context)
182180
if self.NODATA in parameters and parameters[self.NODATA] is not None:

0 commit comments

Comments
 (0)
Please sign in to comment.