diff --git a/src/DisplayTabs/_NoteModel.py b/src/DisplayTabs/_NoteModel.py index c30b14eba..6bef30d4c 100644 --- a/src/DisplayTabs/_NoteModel.py +++ b/src/DisplayTabs/_NoteModel.py @@ -39,7 +39,7 @@ class NoteModel(gtk.ListStore): self.db = db for handle in note_list: note = self.db.get_note_from_handle(handle) - text = note.get().replace('\n', ' ') + text = unicode(note.get().replace('\n', ' ')) if len(text) > 80: text = text[:80]+"..." self.append(row=[