8473: problem by start program

This commit is contained in:
Josip 2015-04-13 01:23:53 +02:00
parent 0e19785b92
commit 7a507a6b01

View File

@ -209,7 +209,7 @@ class GrampsLocale(object):
self.lang = loc[0] self.lang = loc[0]
self.encoding = loc[1] self.encoding = loc[1]
else: else:
(lang, loc) = _check_mswin_locale(lang) (lang, loc) = _check_mswin_locale(locale.getdefaultlocale()[0]))
if lang: if lang:
self.lang = lang self.lang = lang
self.encoding = loc[1] self.encoding = loc[1]