Skip to content

Commit 2f5d118

Browse files
committed
Merge pull request #1496 from Gustry/dev
[processing] change str to unicode fix #10624
2 parents 144f7ec + 5476d86 commit 2f5d118

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/plugins/processing/modeler/ModelerParameterDefinitionDialog.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ def okPressed(self):
322322
== ModelerParameterDefinitionDialog.PARAMETER_STRING \
323323
or isinstance(self.param, ParameterString):
324324
self.param = ParameterString(name, description,
325-
str(self.defaultTextBox.text()))
325+
unicode(self.defaultTextBox.text()))
326326
elif self.paramType \
327327
== ModelerParameterDefinitionDialog.PARAMETER_EXTENT \
328328
or isinstance(self.param, ParameterExtent):

0 commit comments

Comments
 (0)