From f18c6c9189f200c6a4705188ce589ed8d1be0110 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Rapinat?= Date: Fri, 4 Dec 2009 09:22:33 +0000 Subject: [PATCH] assignment after use svn: r13701 --- src/ScratchPad.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ScratchPad.py b/src/ScratchPad.py index be430da65..6af4d0406 100644 --- a/src/ScratchPad.py +++ b/src/ScratchPad.py @@ -324,8 +324,8 @@ class ScratchPadNote(ScratchPadWrapper): self._title = value.get_gramps_id() #String must be unicode for truncation to work for non ascii characters - note = unicode(note) note = value.get().replace('\n', ' ') + note = unicode(note) if len(note) > 80: self._value = note[:80]+"..." else: