* src/RelLib/_NoteBase.py (NoteBase.serialize): Work out the case of note being None -- leftover from gramps20.
svn: r6142
This commit is contained in:
parent
4c54e54fe3
commit
9159ead0ad
@ -1,3 +1,7 @@
|
||||
2006-03-13 Alex Roitman <shura@gramps-project.org>
|
||||
* src/RelLib/_NoteBase.py (NoteBase.serialize): Work out the case
|
||||
of note being None -- leftover from gramps20.
|
||||
|
||||
2006-03-11 Alex Roitman <shura@gramps-project.org>
|
||||
* src/PluginUtils/_ReportOptions.py: Use correct namespace for the
|
||||
base clases from _Options module.
|
||||
|
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user