7026: Eliminate localedir error message
This commit is contained in:
parent
471ec72966
commit
946c5539af
@ -536,7 +536,7 @@ class GrampsLocale(object):
|
|||||||
# _init_secondary_locale if this comes up empty.
|
# _init_secondary_locale if this comes up empty.
|
||||||
if localedir and os.path.exists(os.path.abspath(localedir)):
|
if localedir and os.path.exists(os.path.abspath(localedir)):
|
||||||
self.localedir = localedir
|
self.localedir = localedir
|
||||||
elif _first and _first.localedir:
|
elif _first and hasattr(_first, 'localedir'):
|
||||||
self.localedir = _first.localedir
|
self.localedir = _first.localedir
|
||||||
else:
|
else:
|
||||||
self.localedir = None
|
self.localedir = None
|
||||||
|
Loading…
x
Reference in New Issue
Block a user