Skip to content

Commit 2807da1

Browse files
authored
Merge pull request #1212 from zariiii9003/issue_1183
Change DLC to DL in Message.__str__()
2 parents 593e0d4 + 30c421a commit 2807da1

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ Other API changes and improvements
138138
* Speed up interface plugin imports by removing pkg_resources (#1110)
139139
* Allowing for extra config arguments in can.logger (#1142, #1170)
140140
* Add changed byte highlighting to viewer.py (#1159)
141+
* Change DLC to DL in Message.\_\_str\_\_() (#1212)
141142

142143
Other Bugfixes
143144
--------------

can/message.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ def __str__(self) -> str:
130130

131131
field_strings.append(flag_string)
132132

133-
field_strings.append(f"DLC: {self.dlc:2d}")
133+
field_strings.append(f"DL: {self.dlc:2d}")
134134
data_strings = []
135135
if self.data is not None:
136136
for index in range(0, min(self.dlc, len(self.data))):

0 commit comments

Comments
 (0)