Skip to content

Commit

Permalink
Remove unrequired cast
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Apr 5, 2018
1 parent 6eabb45 commit 4e4c189
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -314,7 +314,7 @@ def createAlgorithm(self):
outputs = {}
for dest in self._alg.destinationParameterDefinitions():
if not dest.flags() & QgsProcessingParameterDefinition.FlagHidden:
name = str(self.valueItems[dest.name()].text())
name = self.valueItems[dest.name()].text()
if name.strip() != '':
output = QgsProcessingModelOutput(name, name)
output.setChildId(alg.childId())
Expand Down

0 comments on commit 4e4c189

Please sign in to comment.