Skip to content

Commit 23cf849

Browse files
zhupumpkinhardbyte
authored andcommitted
fix issue 787
1 parent 0c34e50 commit 23cf849

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

can/message.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ def __init__(self, timestamp=0.0, arbitration_id=0, is_extended_id=None,
112112
if is_extended_id is not None:
113113
self.is_extended_id = is_extended_id
114114
else:
115-
self.is_extended_id = True if extended_id is None else extended_id
115+
self.is_extended_id = False if extended_id is None else extended_id
116116

117117
self.is_remote_frame = is_remote_frame
118118
self.is_error_frame = is_error_frame

0 commit comments

Comments
 (0)