diff --git a/gramps/gen/utils/grampslocale.py b/gramps/gen/utils/grampslocale.py index ced403c69..4cdbc1e34 100644 --- a/gramps/gen/utils/grampslocale.py +++ b/gramps/gen/utils/grampslocale.py @@ -209,7 +209,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]