This commit is contained in:
Paul Franklin 2014-12-11 11:03:12 -08:00
parent 2de3ea43c3
commit c035dd3df4

View File

@ -30,8 +30,6 @@
# #
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
import os import os
from gramps.gen.const import GRAMPS_LOCALE as glocale
_ = glocale.translation.gettext
#------------------------------------------------------------------------ #------------------------------------------------------------------------
# #
@ -47,6 +45,8 @@ log = logging.getLogger(".WriteGeneWeb")
# GRAMPS modules # 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.gen.lib import Date, Event, EventType, FamilyRelType, Person
from gramps.gui.plug.export import WriterOptionBox from gramps.gui.plug.export import WriterOptionBox
from gramps.gen.utils.alive import probably_alive 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()] self.flist = [x for x in self.db.iter_family_handles()]
if len(self.flist) < 1: 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 return False
self.count = 0 self.count = 0