From 35eef6e6349ad2b704b53d6c9e179ea2e908b24e Mon Sep 17 00:00:00 2001 From: Alon <110119940+AlonMoradov@users.noreply.github.com> Date: Fri, 29 Dec 2023 18:55:35 +0200 Subject: [PATCH] Fix typo in error message (#1715) --- can/message.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/can/message.py b/can/message.py index 63a4eea41..c26733087 100644 --- a/can/message.py +++ b/can/message.py @@ -245,7 +245,7 @@ def _check(self) -> None: if self.is_remote_frame: if self.is_error_frame: raise ValueError( - "a message cannot be a remote and an error frame at the sane time" + "a message cannot be a remote and an error frame at the same time" ) if self.is_fd: raise ValueError("CAN FD does not support remote frames")