Skip to content

Commit

Permalink
change str to unicode fix #10624
Browse files Browse the repository at this point in the history
  • Loading branch information
Gustry authored and jef-n committed Jul 11, 2014
1 parent b53cab2 commit eb83256
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -324,7 +324,7 @@ def okPressed(self):
== ModelerParameterDefinitionDialog.PARAMETER_STRING \
or isinstance(self.param, ParameterString):
self.param = ParameterString(name, description,
str(self.defaultTextBox.text()))
unicode(self.defaultTextBox.text()))
elif self.paramType \
== ModelerParameterDefinitionDialog.PARAMETER_EXTENT \
or isinstance(self.param, ParameterExtent):
Expand Down

0 comments on commit eb83256

Please sign in to comment.