From 0b6cae988af764cf7f5600294906f217eaad3ceb Mon Sep 17 00:00:00 2001 From: Paul Franklin Date: Sat, 23 Apr 2016 23:19:55 -0700 Subject: [PATCH] tweak Birthday Report to use proxy DB always --- gramps/plugins/textreport/birthdayreport.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gramps/plugins/textreport/birthdayreport.py b/gramps/plugins/textreport/birthdayreport.py index df971bc64..1be02afe5 100644 --- a/gramps/plugins/textreport/birthdayreport.py +++ b/gramps/plugins/textreport/birthdayreport.py @@ -85,6 +85,7 @@ class BirthdayReport(Report): mgobn = lambda name:options.menu.get_option_by_name(name).get_value() stdoptions.run_private_data_option(self, menu) + # (this report has its own "living people" option ("alive") already) self.titletext = mgobn('titletext') self.relationships = mgobn('relationships') @@ -107,7 +108,7 @@ class BirthdayReport(Report): stdoptions.run_name_format_option(self, menu) - self.center_person = database.get_person_from_gramps_id(pid) + self.center_person = self.database.get_person_from_gramps_id(pid) if (self.center_person == None) : raise ReportError(_("Person %s is not in the Database") % pid )