From 8900ce7f6d6e9b4487a9f1d2ce47d6d91b2ae93d Mon Sep 17 00:00:00 2001 From: Peter Landgren Date: Mon, 28 Jun 2010 07:45:05 +0000 Subject: [PATCH] Fix of issue 4078, note.get() unicode now. svn: r15599 --- 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.