Skip to content

Commit 05111ff

Browse files
committed
Fix SAPCAR
1 parent 115a7c3 commit 05111ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pysap/SAPCAR.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ class SAPCARCompressedBlobFormat(PacketNoPadded):
6060
StrFixedLenField("magic_bytes", b"\x1f\x9d", 2),
6161
ByteField("special", 2),
6262
ConditionalField(StrField("blob", None, remain=4), lambda x: x.compressed_length <= 8),
63-
ConditionalField(StrFixedLenField("blob", None, length_from=lambda x: x.compressed_length - 8),
63+
ConditionalField(StrFixedLenField("blob2", None, length_from=lambda x: x.compressed_length - 8),
6464
lambda x: x.compressed_length > 8),
6565
]
6666

0 commit comments

Comments
 (0)