[r22833]Fix crash when Gramps is passed an invalid locale
svn: r22836
This commit is contained in:
parent
82ea4e8685
commit
ee076d2c91
@ -43,7 +43,6 @@ LOG = logging.getLogger(".")
|
|||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
from ..const import GRAMPS_LOCALE as glocale
|
from ..const import GRAMPS_LOCALE as glocale
|
||||||
_ = glocale.translation.gettext
|
_ = glocale.translation.gettext
|
||||||
from ..datehandler import codeset
|
|
||||||
from ..constfunc import conv_to_unicode, conv_to_unicode_direct, UNITYPE, STRTYPE
|
from ..constfunc import conv_to_unicode, conv_to_unicode_direct, UNITYPE, STRTYPE
|
||||||
|
|
||||||
#strings in database are utf-8
|
#strings in database are utf-8
|
||||||
|
Loading…
Reference in New Issue
Block a user