Skip to content
Permalink
Browse files

[processing] correctly use TYPE_VECTOR constants from corresponding m…

…odule
  • Loading branch information
volaya committed Aug 17, 2017
1 parent bfa4988 commit ad44a50c463a81eddfbd1abe7afc7859a44177b4
Showing with 4 additions and 4 deletions.
  1. +4 −4 python/plugins/processing/algs/saga/SagaAlgorithm.py
@@ -197,10 +197,10 @@ def processAlgorithm(self, progress):
if exportCommand is not None:
commands.append(exportCommand)
param.value = ";".join(layers)
elif param.datatype in [dataobjects.TYPE_VECTOR_ANY,
dataobjects.TYPE_VECTOR_LINE,
dataobjects.TYPE_VECTOR_POLYGON,
dataobjects.TYPE_VECTOR_POINT]:
elif param.datatype in [ParameterMultipleInput.TYPE_VECTOR_ANY,
ParameterMultipleInput.TYPE_VECTOR_LINE,
ParameterMultipleInput.TYPE_VECTOR_POLYGON,
ParameterMultipleInput.TYPE_VECTOR_POINT]:
for layerfile in layers:
layer = dataobjects.getObjectFromUri(layerfile, False)
if layer:

0 comments on commit ad44a50

Please sign in to comment.
You can’t perform that action at this time.