summaryrefslogtreecommitdiffstats
path: root/Mac/Lib/preferences.py
diff options
context:
space:
mode:
Diffstat (limited to 'Mac/Lib/preferences.py')
-rw-r--r--Mac/Lib/preferences.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mac/Lib/preferences.py b/Mac/Lib/preferences.py
index 810d9cc..b1e0948 100644
--- a/Mac/Lib/preferences.py
+++ b/Mac/Lib/preferences.py
@@ -205,7 +205,7 @@ class StrListLoader:
def preferencefile(filename, creator=None, type=None):
create = creator != None and type != None
vrefnum, dirid = macfs.FindFolder(MACFS.kOnSystemDisk, 'pref', create)
- fss = macfs.FSSpec((vrefnum, dirid, filename))
+ fss = macfs.FSSpec((vrefnum, dirid, ":Python:" + filename))
oldrf = Res.CurResFile()
if create:
try: