3893: [NarWeb] Narrated Website does not export all sources

svn: r18076
This commit is contained in:
Michiel Nauta 2011-08-27 10:01:30 +00:00
parent a7bfa88f3b
commit d79eaa2b93

View File

@ -2943,9 +2943,8 @@ class FamilyPage(BasePage):
class PlaceListPage(BasePage):
def __init__(self, report, title, place_handles, src_list):
def __init__(self, report, title, place_handles):
BasePage.__init__(self, report, title)
self.src_list = src_list # TODO verify that this is correct
db = report.database
of = self.report.create_file("places")
@ -3061,6 +3060,7 @@ class PlacePage(BasePage):
BasePage.__init__(self, report, title, place.gramps_id)
of = self.report.create_file(place_handle, "plc")
self.src_list = src_list
self.up = True
self.page_title = place.get_title()
placepage, head, body = self.write_header(_("Places"))
@ -6468,7 +6468,7 @@ class NavWebReport(Report):
self.progress.set_pass(_("Creating place pages"), len(place_list))
PlaceListPage(self, self.title, place_list, source_list)
PlaceListPage(self, self.title, place_list)
for place in place_list:
PlacePage(self, self.title, place, source_list, place_list)