Skip to content
Permalink
Browse files

[processing] Fix another exception in modeler

  • Loading branch information
nyalldawson committed Sep 11, 2018
1 parent 97f43d4 commit d65bd5f08eed4a68c125f2a3ac147447fc987696
Showing with 5 additions and 1 deletion.
  1. +5 −1 python/plugins/processing/modeler/ModelerParametersDialog.py
@@ -324,7 +324,11 @@ def createAlgorithm(self):
if param.isDestination() or param.flags() & QgsProcessingParameterDefinition.FlagHidden:
continue
try:
val = self.wrappers[param.name()].parameterValue()
wrapper = self.wrappers[param.name()]
if issubclass(wrapper.__class__, QgsProcessingModelerParameterWidget):
val = wrapper.value()
else:
val = wrapper.parameterValue()
except InvalidParameterValue:
self.bar.pushMessage(self.tr("Error"),
self.tr("Wrong or missing value for parameter '{}'").format(param.description()),

0 comments on commit d65bd5f

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