From 0e6ba638124edbf1ca017d5e6082d6738edd2469 Mon Sep 17 00:00:00 2001 From: zhupumpkin <11852827@qq.com> Date: Fri, 6 Mar 2020 10:31:43 +0800 Subject: [PATCH] fix issue 787 --- can/message.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/can/message.py b/can/message.py index f85218fc0..e083859af 100644 --- a/can/message.py +++ b/can/message.py @@ -110,7 +110,7 @@ def __init__(self, timestamp=0.0, arbitration_id=0, is_extended_id=None, if is_extended_id is not None: self.is_extended_id = is_extended_id else: - self.is_extended_id = True if extended_id is None else extended_id + self.is_extended_id = False if extended_id is None else extended_id self.is_remote_frame = is_remote_frame self.is_error_frame = is_error_frame