From d5ccbb092d65d031b7209443826f9d48a9d42a16 Mon Sep 17 00:00:00 2001 From: Peter Landgren Date: Fri, 19 Nov 2010 18:37:12 +0000 Subject: [PATCH] Issue 4393, str/unicode problem. Now same code as in trunk. svn: r16218 --- src/gen/lib/note.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gen/lib/note.py b/src/gen/lib/note.py index 7df92e452..2c457a82b 100644 --- a/src/gen/lib/note.py +++ b/src/gen/lib/note.py @@ -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.