[r21858]GrampsLocale: Fix MSWin Syntax error
Can't do everything the C way :-( svn: r21859
This commit is contained in:
parent
8fe756f5e4
commit
b204a48b42
@ -189,7 +189,9 @@ class GrampsLocale(object):
|
||||
self.lang = loc[0]
|
||||
self.languages = [loc[0]]
|
||||
self.encoding = loc[1]
|
||||
elif ((lang, loc) = _check_mswin_locale(lang)):
|
||||
else:
|
||||
(lang, loc) = _check_mswin_locale(lang)
|
||||
if lang:
|
||||
self.lang = lang
|
||||
self.language = [self.lang]
|
||||
self.encoding = loc[1]
|
||||
|
Loading…
Reference in New Issue
Block a user