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
This commit is contained in:
John Ralls 2013-02-28 18:57:04 +00:00
parent 4eb3e7c926
commit c0aa613e4a

View File

@ -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