Skip to content

Commit

Permalink
[processing] Correctly call TYPE_RASTER constant
Browse files Browse the repository at this point in the history
Fixes #16786
  • Loading branch information
volaya committed Jul 4, 2017
1 parent 62c5723 commit 74042a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/plugins/processing/algs/saga/SagaAlgorithm.py
Expand Up @@ -340,7 +340,7 @@ def checkParameterValuesBeforeExecuting(self):
if isinstance(param, ParameterRaster):
files = [param.value]
elif (isinstance(param, ParameterMultipleInput) and
param.datatype == dataobjects.TYPE_RASTER):
param.datatype == ParameterMultipleInput.TYPE_RASTER):
if param.value is not None:
files = param.value.split(";")
for f in files:
Expand Down

0 comments on commit 74042a2

Please sign in to comment.