mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
put the preferences file in a folder called "Python" inside the prefs folder, just like the IDE does -- jvr
This commit is contained in:
parent
9202755fcb
commit
26a69db4c7
2 changed files with 38 additions and 11 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue