From c0aa613e4add46bfd9faaaaedd5d574a3b2ad5eb Mon Sep 17 00:00:00 2001 From: John Ralls Date: Thu, 28 Feb 2013 18:57:04 +0000 Subject: [PATCH] GrampsLocale: Use absolute address for importing grampslocale so that it works from outside of Gramps itself, in particular gramps-addons/contrib/make.py svn: r21486 --- gramps/gen/const.py.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gramps/gen/const.py.in b/gramps/gen/const.py.in index a73680192..05498ce95 100644 --- a/gramps/gen/const.py.in +++ b/gramps/gen/const.py.in @@ -217,7 +217,7 @@ LICENSE_FILE = os.path.join(DOC_DIR, 'COPYING') # Init Localization # #------------------------------------------------------------------------- -from .utils.grampslocale import GrampsLocale +from gramps.gen.utils.grampslocale import GrampsLocale GRAMPS_LOCALE = GrampsLocale() _ = GRAMPS_LOCALE.get_translation().sgettext