Skip to content
Permalink
Browse files

Fix use before assign

  • Loading branch information
m-kuhn committed Apr 9, 2018
1 parent 0e1852c commit dbced352b8c7defbb62738a7d8412bd40d306eca
Showing with 1 addition and 1 deletion.
  1. +1 −1 python/plugins/processing/modeler/ModelerParametersDialog.py
@@ -334,7 +334,7 @@ def createAlgorithm(self):
outputs[name] = output

if dest.flags() & QgsProcessingParameterDefinition.FlagIsModelOutput:
if not name in outputs:
if dest.name() not in outputs:
output = QgsProcessingModelOutput(dest.name(), dest.name())
output.setChildId(alg.childId())
output.setChildOutputName(dest.name())

0 comments on commit dbced35

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