replace deprecated API call

This commit is contained in:
Kovid Goyal 2019-06-08 11:03:22 +05:30
parent 3434a40c35
commit a984c6198f
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -43,7 +43,8 @@ def expand_dirs(items):
def get_executable(info_path):
return plistlib.readPlist(info_path)['CFBundleExecutable']
with open(info_path, 'rb') as f:
return plistlib.load(f)['CFBundleExecutable']
def sign_app(appdir):