mirror of
https://github.com/KnugiHK/WhatsApp-Chat-Exporter.git
synced 2026-04-27 16:24:53 +00:00
Update bplist.py
This commit is contained in:
@@ -234,7 +234,7 @@ class BPListReader(object):
|
|||||||
# read trailer
|
# read trailer
|
||||||
self.offset_size, self.object_ref_size, self.number_of_objects, self.top_object, self.table_offset = struct.unpack('!6xBB4xI4xI4xI', self.data[-32:])
|
self.offset_size, self.object_ref_size, self.number_of_objects, self.top_object, self.table_offset = struct.unpack('!6xBB4xI4xI4xI', self.data[-32:])
|
||||||
#print "** plist offset_size:",self.offset_size,"objref_size:",self.object_ref_size,"num_objs:",self.number_of_objects,"top:",self.top_object,"table_ofs:",self.table_offset
|
#print "** plist offset_size:",self.offset_size,"objref_size:",self.object_ref_size,"num_objs:",self.number_of_objects,"top:",self.top_object,"table_ofs:",self.table_offset
|
||||||
|
|
||||||
# read offset table
|
# read offset table
|
||||||
self.offset_table = self.data[self.table_offset:-32]
|
self.offset_table = self.data[self.table_offset:-32]
|
||||||
self.offsets = []
|
self.offsets = []
|
||||||
|
|||||||
Reference in New Issue
Block a user