Better fix for bug 7122.
This commit is contained in:
parent
eec3122bfb
commit
84cabddcc9
@ -199,6 +199,8 @@ def mac_setup_localization(glocale):
|
|||||||
apple_collation = _mac_get_gramps_defaults("Global",
|
apple_collation = _mac_get_gramps_defaults("Global",
|
||||||
"AppleCollationOrder")
|
"AppleCollationOrder")
|
||||||
|
|
||||||
|
if not apple_collation:
|
||||||
|
return (None, None)
|
||||||
apple_collation = apple_collation.strip()
|
apple_collation = apple_collation.strip()
|
||||||
if not apple_collation or apple_collation.startswith("root"):
|
if not apple_collation or apple_collation.startswith("root"):
|
||||||
return (None, None)
|
return (None, None)
|
||||||
|
Loading…
Reference in New Issue
Block a user