brysontyrrell / brysontyrrell/Patch-Starter-Script
AttributeError: module 'plistlib' has no attribute 'readPlist'
Open
- Dominant language
- Python
- Stars
- 47
- Forks
- 11
- PR merge metrics
- No merged PRs in 30d
Description
line 127, in make_definition
info_plist = plistlib.readPlist(info_plist_path)
this module is not available in python3
suggest:
either creating a new variable that opens the file as a bytes type and then changing line 127 (becomes line 128) to use plist.load
line 125 = `infoFile = open(info_plist_path, "rb")`
line 128 = `info_plist = plistlib.load(infoFile)`
or
line 127 and 128 become a with open statement
line 127 = `with open(info_plist_path, "rb") as info_plist_file:`
line 128 = `info_plist = plistlib.load(info_plist_file)`
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.