From 7a507a6b018f326d1d74dbe70a8b6cff687ffb76 Mon Sep 17 00:00:00 2001 From: Josip Date: Mon, 13 Apr 2015 01:23:53 +0200 Subject: [PATCH] 8473: problem by start program --- gramps/gen/utils/grampslocale.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gramps/gen/utils/grampslocale.py b/gramps/gen/utils/grampslocale.py index 76582c158..ced403c69 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(lang) + (lang, loc) = _check_mswin_locale(locale.getdefaultlocale()[0])) if lang: self.lang = lang self.encoding = loc[1]