Skip to content

Commit

Permalink
minor tweak (py3-crossover bug)
Browse files Browse the repository at this point in the history
  • Loading branch information
atlas0fd00m committed Sep 4, 2021
1 parent 6b0bb4c commit 3876382
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cancat/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
CAN_RESP_SENDMSGTIMEOUT = (7)
CAN_RESP_FAIL = (0xff)

CAN_RESPS = { v: k for k,v in globals().items() if k.startswith('CAN_RESP') }
CAN_RESPS = { v: k for k,v in globals().items() if k.startswith('CAN_RESP_') }

# constants for setting baudrate for the CAN bus
CAN_AUTOBPS = 0
Expand Down Expand Up @@ -2237,7 +2237,6 @@ def interactive(port=None, InterfaceClass=CanInterface, intro='', load_filename=
gbls = globals()
lcls = locals()

print intro
try:
import IPython
ipsh = IPython.embed(banner1=intro, colors="neutral")
Expand Down

0 comments on commit 3876382

Please sign in to comment.