8473: problem by start program

This commit is contained in:
Josip 2015-04-13 01:15:17 +02:00
parent 906e46b0a5
commit 93bd200ea0

View File

@ -208,7 +208,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]