Skip to content

Commit 6c8be9e

Browse files
authored
fix f-string
1 parent 278e7e8 commit 6c8be9e

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
@@ -130,7 +130,7 @@ def __str__(self) -> str:
130130

131131
field_strings.append(flag_string)
132132

133-
field_strings.append("DLC: {self.dlc:2d}")
133+
field_strings.append(f"DLC: {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)