Ooops
This commit is contained in:
1 parent
d987c46457
commit
60be5566cd
1 file changed
+3
-3
@@ -628,11 +628,11 @@ def handle82(FileObject):
|
||||
Z = struct.unpack('!i', FileObject.read(4))[0]
|
||||
length = struct.unpack('!i', FileObject.read(2))[0] * 2
|
||||
Line1 = FileObject.read(length).decode("utf-16be")
|
||||
length = struct.unpack('!i', FileObject.read(2))[0] * 2
|
||||
length = struct.unpack('!h', FileObject.read(2))[0] * 2
|
||||
Line2 = FileObject.read(length).decode("utf-16be")
|
||||
length = struct.unpack('!i', FileObject.read(2))[0] * 2
|
||||
length = struct.unpack('!h', FileObject.read(2))[0] * 2
|
||||
Line3 = FileObject.read(length).decode("utf-16be")
|
||||
length = struct.unpack('!i', FileObject.read(2))[0] * 2
|
||||
length = struct.unpack('!h', FileObject.read(2))[0] * 2
|
||||
Line4 = FileObject.read(length).decode("utf-16be")
|
||||
return {'x' : X,
|
||||
'y' : Y,
|
||||
|
||||
Reference in new issue
Block a user