Skip to content

Commit

Permalink
Fix incorrect "layer could not be generated" message after running gd…
Browse files Browse the repository at this point in the history
…al warp algorithm
  • Loading branch information
github-actions[bot] authored and nyalldawson committed May 28, 2020
1 parent 4fe5780 commit 5aaeca2
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions python/plugins/processing/algs/gdal/warp.py
Expand Up @@ -175,8 +175,6 @@ def getConsoleCommands(self, parameters, context, feedback, executing=True):
if inLayer is None:
raise QgsProcessingException(self.invalidRasterError(parameters, self.INPUT))

out = self.parameterAsOutputLayer(parameters, self.OUTPUT, context)
self.setOutputValue(self.OUTPUT, out)
sourceCrs = self.parameterAsCrs(parameters, self.SOURCE_CRS, context)
targetCrs = self.parameterAsCrs(parameters, self.TARGET_CRS, context)
if self.NODATA in parameters and parameters[self.NODATA] is not None:
Expand Down

0 comments on commit 5aaeca2

Please sign in to comment.