Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4ea1f45

Browse files
committed
Go from filename to FSSpec via FSRefs, to work around outdated macfs module
in python 2.2.
1 parent d892d4e commit 4ea1f45

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Mac/scripts/BuildApplet.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ def buildapplet():
8686
verbose = 'default'
8787
# Loop over all files to be processed
8888
for filename in args:
89-
cr, tp = MacOS.GetCreatorAndType(filename)
89+
cr, tp = MacOS.GetCreatorAndType(macfs.FSRef(filename))
9090
if tp == 'APPL':
9191
buildtools.update(template, filename, dstfilename)
9292
else:

0 commit comments

Comments
 (0)