Better fix for bug 7122.

This commit is contained in:
John Ralls 2014-02-20 13:53:33 -08:00
parent eec3122bfb
commit 84cabddcc9

View File

@ -199,6 +199,8 @@ def mac_setup_localization(glocale):
apple_collation = _mac_get_gramps_defaults("Global",
"AppleCollationOrder")
if not apple_collation:
return (None, None)
apple_collation = apple_collation.strip()
if not apple_collation or apple_collation.startswith("root"):
return (None, None)