Skip to content

Commit

Permalink
change str to unicode fix qgis#10624
Browse files Browse the repository at this point in the history
  • Loading branch information
Gustry committed Jul 3, 2014
1 parent 03efcac commit 5476d86
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,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 5476d86

Please sign in to comment.