Skip to content

Commit 38d69f2

Browse files
committed
Fixed typo and updated .gitignore
1 parent 558637f commit 38d69f2

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

.gitignore

100644100755
File mode changed.

isotp/protocol.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@ def send(self, data, target_address_type=isotp.address.TargetAddressType.Physica
375375
try:
376376
data = bytearray(data)
377377
except:
378-
raise ValueError('data must be an IsoTpFrame or bytearray')
378+
raise ValueError('data must be a bytearray')
379379

380380
if self.tx_queue.full():
381381
raise RuntimeError('Transmit queue is full')

0 commit comments

Comments
 (0)