Adjusted the Creating family pages progress bar.

svn: r18555
This commit is contained in:
Rob G. Healey 2011-12-06 17:44:07 +00:00
parent c83653f017
commit 129198e0e5

View File

@ -6740,13 +6740,13 @@ class NavWebReport(Report):
"""
db = self.database
self.user.begin_progress(_("Narrated Web Site Report"),
_("Creating family pages..."),
len(db.get_family_handles() ))
displayed = set()
FamilyListPage(self, self.title, ppl_handle_list, displayed)
self.user.begin_progress(_("Narrated Web Site Report"),
_("Creating family pages..."),
len(displayed))
for phandle in ppl_handle_list:
person = db.get_person_from_handle(phandle)
if person: