cover two pathological place=None cases in family-group report
This commit is contained in:
parent
aee8c07c83
commit
f8b74490b7
@ -114,6 +114,8 @@ class FamilyGroup(Report):
|
|||||||
if event:
|
if event:
|
||||||
date = self._get_date(event.get_date_object())
|
date = self._get_date(event.get_date_object())
|
||||||
place = place_displayer.display_event(self.database, event)
|
place = place_displayer.display_event(self.database, event)
|
||||||
|
if place is None:
|
||||||
|
place = ''
|
||||||
descr = event.get_description()
|
descr = event.get_description()
|
||||||
|
|
||||||
if self.includeAttrs:
|
if self.includeAttrs:
|
||||||
@ -405,6 +407,8 @@ class FamilyGroup(Report):
|
|||||||
place_handle = event.get_place_handle()
|
place_handle = event.get_place_handle()
|
||||||
if place_handle:
|
if place_handle:
|
||||||
place = place_displayer.display_event(self.database, event)
|
place = place_displayer.display_event(self.database, event)
|
||||||
|
if place is None:
|
||||||
|
place = ''
|
||||||
|
|
||||||
self.doc.start_row()
|
self.doc.start_row()
|
||||||
self.doc.start_cell(text)
|
self.doc.start_cell(text)
|
||||||
|
Loading…
Reference in New Issue
Block a user