From 1a35de0446d57eb2ef24257b4f9faa2ff104f403 Mon Sep 17 00:00:00 2001 From: SNoiraud Date: Sat, 19 Mar 2016 23:08:02 +0100 Subject: [PATCH] 9316: Unable to build narrated web site --- gramps/plugins/webreport/narrativeweb.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gramps/plugins/webreport/narrativeweb.py b/gramps/plugins/webreport/narrativeweb.py index b05fab112..b99f12c8a 100644 --- a/gramps/plugins/webreport/narrativeweb.py +++ b/gramps/plugins/webreport/narrativeweb.py @@ -7694,9 +7694,12 @@ class NavWebReport(Report): with self.user.progress(_("Narrated Web Site Report"), _('Creating GENDEX file'), len(ind_list)) as step: fp_gendex, gendex_io = self.create_file("gendex", ext=".txt") + date = 0 for person_handle in ind_list: step() person = self.database.get_person_from_handle(person_handle) + datex = person.get_change_time() + if datex > date: date = datex if self.archive: self.write_gendex(gendex_io, person) else: