From 2f608f67e6a7e285402b32c9b311ca59539e2499 Mon Sep 17 00:00:00 2001 From: Paul Franklin Date: Thu, 31 Mar 2016 12:34:18 -0700 Subject: [PATCH] fix "TypeError: 'tuple' object does not support item assignment" --- gramps/gen/utils/grampslocale.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gramps/gen/utils/grampslocale.py b/gramps/gen/utils/grampslocale.py index 6ca959f87..a88fc206d 100644 --- a/gramps/gen/utils/grampslocale.py +++ b/gramps/gen/utils/grampslocale.py @@ -291,7 +291,8 @@ class GrampsLocale(object): return False lang = self.check_available_translations(locale[0]) if not lang and locale[0].startswith('en'): - locale[0] = lang = 'en_GB' + locale = ('en_GB', 'UTF-8') + lang = 'en_GB' if not lang: return False self.lang = locale[0]