mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-28 07:48:37 -04:00
makepanda: Fix error in plistlib.load invocation
This commit is contained in:
parent
b22b970d10
commit
aa13953f2b
@ -2155,7 +2155,7 @@ def CompileBundle(target, inputs, opts):
|
||||
# Now link the object files to form the bundle.
|
||||
if plist is None:
|
||||
exit("One plist file must be used when creating a bundle!")
|
||||
bundleName = plistlib.load(plist)["CFBundleExecutable"]
|
||||
bundleName = plistlib.load(open(plist, 'rb'))["CFBundleExecutable"]
|
||||
|
||||
oscmd("rm -rf %s" % target)
|
||||
oscmd("mkdir -p %s/Contents/MacOS/" % target)
|
||||
|
Loading…
x
Reference in New Issue
Block a user