From aa13953f2bdabf47346b773c334c36f1c188a23c Mon Sep 17 00:00:00 2001 From: rdb Date: Wed, 30 Aug 2023 15:05:35 +0200 Subject: [PATCH] makepanda: Fix error in plistlib.load invocation --- makepanda/makepanda.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/makepanda/makepanda.py b/makepanda/makepanda.py index 1efb46cf21..e70a0ef790 100755 --- a/makepanda/makepanda.py +++ b/makepanda/makepanda.py @@ -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)