Skip to content

Commit bde8b43

Browse files
committedJun 14, 2018
Fix exception in create constant raster alg
1 parent a80f7ab commit bde8b43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎python/plugins/processing/algs/qgis/CreateConstantRaster.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ def processAlgorithm(self, parameters, context, feedback):
9999
if provider is None:
100100
raise QgsProcessingException(self.tr("Could not create raster output: {}").format(outputFile))
101101
if not provider.isValid():
102-
raise QgsProcessingException(self.tr("Could not create raster output {}: {}").arg(outputFile,
102+
raise QgsProcessingException(self.tr("Could not create raster output {}: {}").format(outputFile,
103103
provider.error().message(QgsErrorMessage.Text)))
104104

105105
provider.setNoDataValue(1, -9999)

0 commit comments

Comments
 (0)
Please sign in to comment.