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