From 1ce98afc86990c357680fbb975cfed940b97968e Mon Sep 17 00:00:00 2001 From: Paul Franklin Date: Fri, 24 Feb 2017 11:10:03 -0800 Subject: [PATCH] don't type out a (possible) warning message if the option is not on --- gramps/plugins/textreport/indivcomplete.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gramps/plugins/textreport/indivcomplete.py b/gramps/plugins/textreport/indivcomplete.py index 8d15e3829..3bb91145a 100644 --- a/gramps/plugins/textreport/indivcomplete.py +++ b/gramps/plugins/textreport/indivcomplete.py @@ -59,7 +59,6 @@ from gramps.gen.plug.report import stdoptions from gramps.gen.utils.file import media_path_full from gramps.gen.utils.lds import TEMPLES from gramps.gen.proxy import CacheProxyDb -from gramps.gen.relationship import get_relationship_calculator from gramps.gen.errors import ReportError #------------------------------------------------------------------------ @@ -160,6 +159,7 @@ class IndivCompleteReport(Report): self.home_person = self._db.get_default_person() # might be None self.increlname = menu.get_option_by_name('incl_relname').get_value() if self.increlname and self.home_person: + from gramps.gen.relationship import get_relationship_calculator self.rel_calc = get_relationship_calculator(reinit=True, clocale=self._locale)