cover two pathological place=None cases in family-group report

This commit is contained in:
Paul Franklin 2015-05-01 19:42:42 -07:00 committed by Ross Gammon
parent aee8c07c83
commit f8b74490b7

View File

@ -114,6 +114,8 @@ class FamilyGroup(Report):
if event:
date = self._get_date(event.get_date_object())
place = place_displayer.display_event(self.database, event)
if place is None:
place = ''
descr = event.get_description()
if self.includeAttrs:
@ -405,6 +407,8 @@ class FamilyGroup(Report):
place_handle = event.get_place_handle()
if place_handle:
place = place_displayer.display_event(self.database, event)
if place is None:
place = ''
self.doc.start_row()
self.doc.start_cell(text)