8473: problem by start program

This commit is contained in:
Josip 2015-04-13 01:23:53 +02:00 committed by Ross Gammon
parent ac85b4eca3
commit 34c0668866

View File

@ -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]