Skip to content
Permalink
Browse files

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

…etected
  • Loading branch information
nyalldawson committed Nov 26, 2018
1 parent 72fdda7 commit 64bd9e5a5e7e24e4692afca0ad46cfcd7b711960
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 64bd9e5

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