Skip to content

Commit 9b95966

Browse files
committed
potential fix for #367
1 parent 6f76a6f commit 9b95966

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/canmatrix/formats/xls.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -421,7 +421,7 @@ def load(file, **options):
421421
if frame_id.endswith("xh"):
422422
new_frame.arbitration_id = canmatrix.ArbitrationId(int(frame_id[:-2], 16), extended=True)
423423
else:
424-
new_frame.arbitration_id = canmatrix.ArbitrationId(int(frame_id[:-2], 16), extended=False)
424+
new_frame.arbitration_id = canmatrix.ArbitrationId(int(frame_id[:-1], 16), extended=False)
425425
db.add_frame(new_frame)
426426

427427
# eval launch_type

0 commit comments

Comments
 (0)