Skip to content
Permalink
Browse files

[processing] Fix traceback when modeller parameter invalid value is d…

…etected

(cherry picked from commit 64bd9e5)
  • Loading branch information
nyalldawson committed Nov 27, 2018
1 parent bb8854f commit 5e4d156af06ae990a2bbd6fd65b7513c3329f70d
Showing with 3 additions and 1 deletion.
  1. +3 −1 python/plugins/processing/modeler/ModelerParametersDialog.py
@@ -351,7 +351,9 @@ def createAlgorithm(self):
continue
try:
wrapper = self.wrappers[param.name()]
if issubclass(wrapper.__class__, QgsProcessingModelerParameterWidget):
if issubclass(wrapper.__class__, WidgetWrapper):
val = wrapper.value()
elif issubclass(wrapper.__class__, QgsProcessingModelerParameterWidget):
val = wrapper.value()
else:
val = wrapper.parameterValue()

0 comments on commit 5e4d156

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