* src/RelLib/_NoteBase.py (NoteBase.serialize): Work out the case of note being None -- leftover from gramps20.

svn: r6142
This commit is contained in:
Alex Roitman
2006-03-14 03:46:54 +00:00
parent 4c54e54fe3
commit 9159ead0ad
2 changed files with 6 additions and 0 deletions

View File

@@ -55,6 +55,8 @@ class NoteBase:
self.note = Note(text)
def serialize(self):
if self.note == None:
self.note = Note()
return self.note.serialize()
def unserialize(self,data):