assignment after use
svn: r13701
This commit is contained in:
parent
aae0360818
commit
f18c6c9189
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user