Fix crash when Gramps is passed an invalid locale
svn: r22833
This commit is contained in:
parent
57af50e162
commit
9e213e0090
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user