From c035dd3df4dbdf34fb761ef31f29f8da4133f75b Mon Sep 17 00:00:00 2001 From: Paul Franklin Date: Thu, 11 Dec 2014 11:03:12 -0800 Subject: [PATCH] typo --- gramps/plugins/export/exportgeneweb.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gramps/plugins/export/exportgeneweb.py b/gramps/plugins/export/exportgeneweb.py index 88e5999cf..175a5e1d6 100644 --- a/gramps/plugins/export/exportgeneweb.py +++ b/gramps/plugins/export/exportgeneweb.py @@ -30,8 +30,6 @@ # #------------------------------------------------------------------------- import os -from gramps.gen.const import GRAMPS_LOCALE as glocale -_ = glocale.translation.gettext #------------------------------------------------------------------------ # @@ -47,6 +45,8 @@ log = logging.getLogger(".WriteGeneWeb") # GRAMPS modules # #------------------------------------------------------------------------- +from gramps.gen.const import GRAMPS_LOCALE as glocale +_ = glocale.translation.gettext from gramps.gen.lib import Date, Event, EventType, FamilyRelType, Person from gramps.gui.plug.export import WriterOptionBox from gramps.gen.utils.alive import probably_alive @@ -100,7 +100,7 @@ class GeneWebWriter(object): self.flist = [x for x in self.db.iter_family_handles()] if len(self.flist) < 1: - self.notify_error(_("No families matched by selected filter")) + self.user.notify_error(_("No families matched by selected filter")) return False self.count = 0