Skip to content

Commit 5476d86

Browse files
committed
change str to unicode fix #10624
1 parent 03efcac commit 5476d86

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)