Skip to content

Commit 35eef6e

Browse files
authored
Fix typo in error message (#1715)
1 parent f0634d2 commit 35eef6e

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
@@ -245,7 +245,7 @@ def _check(self) -> None:
245245
if self.is_remote_frame:
246246
if self.is_error_frame:
247247
raise ValueError(
248-
"a message cannot be a remote and an error frame at the sane time"
248+
"a message cannot be a remote and an error frame at the same time"
249249
)
250250
if self.is_fd:
251251
raise ValueError("CAN FD does not support remote frames")

0 commit comments

Comments
 (0)