mirror of
https://github.com/corpnewt/gibMacOS.git
synced 2024-11-10 09:49:42 +01:00
Wrap data in plistlib.Data
This commit is contained in:
parent
4abdf13dd7
commit
c17eda3b85
@ -157,7 +157,7 @@ def readBinaryPlistFile(in_file):
|
||||
return datetime.datetime.utcfromtimestamp(f + MAC_OS_X_TIME_OFFSET)
|
||||
elif token_h == 0x40: #data
|
||||
s = getSize(token_l)
|
||||
return in_file.read(s)
|
||||
return plistlib.Data(in_file.read(s))
|
||||
elif token_h == 0x50: #ascii string
|
||||
s = getSize(token_l)
|
||||
return in_file.read(s)
|
||||
|
Loading…
Reference in New Issue
Block a user