From 16cb40dfb679258ebef252278a5c1e94ea521de5 Mon Sep 17 00:00:00 2001 From: Michiel Nauta Date: Sat, 27 Aug 2011 10:02:17 +0000 Subject: [PATCH] 3893: [NarWeb] Narrated Website does not export all sources svn: r18077 --- src/plugins/webreport/NarrativeWeb.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/plugins/webreport/NarrativeWeb.py b/src/plugins/webreport/NarrativeWeb.py index b160f42a2..43a31008b 100644 --- a/src/plugins/webreport/NarrativeWeb.py +++ b/src/plugins/webreport/NarrativeWeb.py @@ -2423,9 +2423,8 @@ class SurnamePage(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") @@ -2541,6 +2540,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")) @@ -6069,7 +6069,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)