Use FoundationPlist to read our local prefs

This commit is contained in:
Greg Neagle
2014-03-24 15:12:35 -07:00
parent c03cb77fff
commit acdd39c035
+1 -1
View File
@@ -380,7 +380,7 @@ def print_err_utf8(text):
def pref(prefname):
"""Returns a preference for prefname"""
try:
_prefs = plistlib.readPlist(PREFSPATH)
_prefs = FoundationPlist.readPlist(PREFSPATH)
except Exception:
return None
if prefname in _prefs: