Fix of issue 4078, note.get() unicode now.
svn: r15599
This commit is contained in:
parent
88c1389251
commit
8900ce7f6d
@ -133,10 +133,10 @@ class Note(BasicPrimaryObject):
|
|||||||
"""Return the text string associated with the note.
|
"""Return the text string associated with the note.
|
||||||
|
|
||||||
:returns: The *clear* text of the note contents.
|
: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):
|
def set_styledtext(self, text):
|
||||||
"""Set the text associated with the note to the passed string.
|
"""Set the text associated with the note to the passed string.
|
||||||
|
Loading…
Reference in New Issue
Block a user