We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 083cd12 commit 81e6b0dCopy full SHA for 81e6b0d
examples/isotp.py
@@ -55,7 +55,7 @@ def isotp_send(panda, x, addr, bus=0, recvaddr=None, subaddr=None):
55
# actually send
56
panda.can_send(addr, ss, bus)
57
rr = recv(panda, 1, recvaddr, bus)[0]
58
- if rr.find("\x30\x01"):
+ if rr.find("\x30\x01") != -1:
59
for s in sends[:-1]:
60
panda.can_send(addr, s, 0)
61
0 commit comments