From 9e213e0090fb8a684fa4de14ac220db67d8f2ad5 Mon Sep 17 00:00:00 2001 From: John Ralls Date: Fri, 9 Aug 2013 19:58:34 +0000 Subject: [PATCH] Fix crash when Gramps is passed an invalid locale svn: r22833 --- gramps/gen/utils/cast.py | 1 - 1 file changed, 1 deletion(-) diff --git a/gramps/gen/utils/cast.py b/gramps/gen/utils/cast.py index 799db27af..91ea58c2b 100644 --- a/gramps/gen/utils/cast.py +++ b/gramps/gen/utils/cast.py @@ -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