8677: Narrated Web report failed

This commit is contained in:
Paul Franklin 2015-07-01 17:19:39 -07:00
parent c2d1ff911b
commit 8ade35b5f2

View File

@ -7449,6 +7449,8 @@ class NavWebReport(Report):
def _add_place(self, place_handle, bkref_class, bkref_handle): def _add_place(self, place_handle, bkref_class, bkref_handle):
place = self.database.get_place_from_handle(place_handle) place = self.database.get_place_from_handle(place_handle)
if place is None:
return
place_name = _pd.display(self.database, place) place_name = _pd.display(self.database, place)
place_fname = self.build_url_fname(place_handle, "plc", place_fname = self.build_url_fname(place_handle, "plc",
False) + self.ext False) + self.ext