Skip to content

Commit 8e473b2

Browse files
committed
Fixed an error message formatting
1 parent fdcb051 commit 8e473b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

isotp/protocol.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -941,7 +941,7 @@ def get_dlc(self, data, validate_tx=False):
941941
elif fdlen == 32: return 13
942942
elif fdlen == 48: return 14
943943
elif fdlen == 64: return 15
944-
raise ValueError("Impossible DLC size for payload of %d bytes with tx_data_length of %d" % (len(data)))
944+
raise ValueError("Impossible DLC size for payload of %d bytes with tx_data_length of %d" % (len(data), self.params.tx_data_length))
945945

946946

947947

0 commit comments

Comments
 (0)