diff --git a/gramps/gen/utils/grampslocale.py b/gramps/gen/utils/grampslocale.py index d7cc1ccc1..2eb9e37eb 100644 --- a/gramps/gen/utils/grampslocale.py +++ b/gramps/gen/utils/grampslocale.py @@ -208,7 +208,7 @@ class GrampsLocale(object): self.lang = loc[0] self.encoding = loc[1] else: - (lang, loc) = _check_mswin_locale(locale.getdefaultlocale()[0])) + (lang, loc) = _check_mswin_locale(locale.getdefaultlocale()[0]) if lang: self.lang = lang self.encoding = loc[1]