Issue 4393, str/unicode problem. Now same code as in trunk.

svn: r16218
This commit is contained in:
Peter Landgren 2010-11-19 18:37:12 +00:00
parent 3affb0a3fd
commit d5ccbb092d

View File

@ -133,10 +133,10 @@ class Note(BasicPrimaryObject):
"""Return the text string associated with the note.
:returns: The *clear* text of the note contents.
:rtype: str
:rtype: unicode
"""
return str(self.text)
return unicode(self.text)
def set_styledtext(self, text):
"""Set the text associated with the note to the passed string.