* src/plugins/FamilyGroup.py (FamilyGroup.dump_child): handle missing spouse
svn: r2558
This commit is contained in:
parent
dc895384a4
commit
201fb9b460
@ -294,7 +294,8 @@ class FamilyGroup:
|
||||
self.doc.end_cell()
|
||||
self.doc.start_cell('FGR-TextContentsEnd',2)
|
||||
self.doc.start_paragraph('FGR-Normal')
|
||||
self.doc.write_text(spouse.getPrimaryName().getRegularName())
|
||||
if spouse:
|
||||
self.doc.write_text(spouse.getPrimaryName().getRegularName())
|
||||
self.doc.end_paragraph()
|
||||
self.doc.end_cell()
|
||||
self.doc.end_row()
|
||||
|
Loading…
Reference in New Issue
Block a user