1
0
mirror of https://github.com/kellyjonbrazil/jc.git synced 2025-07-15 01:24:29 +02:00

fix for unparsable bytes

This commit is contained in:
Kelly Brazil
2022-07-31 17:08:44 -07:00
parent 4744757726
commit 86067f913b

View File

@ -145,7 +145,11 @@ def parse(
if jc.utils.has_data(data):
raw_output = plistlib.loads(data)
try:
raw_output = plistlib.loads(data)
except plistlib.InvalidFileException:
pass
raw_output = _fix_objects(raw_output)
return raw_output if raw else _process(raw_output)