mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
replace deprecated API call
This commit is contained in:
parent
3434a40c35
commit
a984c6198f
@ -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):
|
||||
|
Loading…
x
Reference in New Issue
Block a user