Skip to content

Commit

Permalink
Fix typo in error message (#1715)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlonMoradov committed Dec 29, 2023
1 parent f0634d2 commit 35eef6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion can/message.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 35eef6e

Please sign in to comment.