Fix incorrect data header

This commit is contained in:
CorpNewt 2018-10-12 13:15:53 -05:00 committed by GitHub
parent a9087e9a9f
commit 4abdf13dd7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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