mirror of
https://github.com/corpnewt/gibMacOS.git
synced 2024-09-20 01:30:33 +00:00
Fix incorrect data header
This commit is contained in:
parent
a9087e9a9f
commit
4abdf13dd7
1 changed files with 1 additions and 1 deletions
|
@ -155,7 +155,7 @@ def readBinaryPlistFile(in_file):
|
|||
elif token_h == 0x30: #date
|
||||
f = struct.unpack('>d', in_file.read(8))[0]
|
||||
return datetime.datetime.utcfromtimestamp(f + MAC_OS_X_TIME_OFFSET)
|
||||
elif token_h == 0x80: #data
|
||||
elif token_h == 0x40: #data
|
||||
s = getSize(token_l)
|
||||
return in_file.read(s)
|
||||
elif token_h == 0x50: #ascii string
|
||||
|
|
Loading…
Reference in a new issue