Fix crash when Gramps is passed an invalid locale

svn: r22833
This commit is contained in:
John Ralls 2013-08-09 19:58:34 +00:00
parent 57af50e162
commit 9e213e0090

View File

@ -43,7 +43,6 @@ LOG = logging.getLogger(".")
#-------------------------------------------------------------------------
from ..const import GRAMPS_LOCALE as glocale
_ = glocale.translation.gettext
from ..datehandler import codeset
from ..constfunc import conv_to_unicode, conv_to_unicode_direct, UNITYPE, STRTYPE
#strings in database are utf-8