Skip to content

Commit 1b27d43

Browse files
committed
Reformat with black
1 parent 7dd3ceb commit 1b27d43

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

can/interfaces/neousys/neousys.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,9 @@ def __init__(self, channel, device=0, bitrate=500000, **kwargs):
153153
self.queue = queue.Queue()
154154

155155
# Init with accept all and wanted bitrate
156-
self.init_config = NeousysCanSetup(bitrate, NEOUSYS_CAN_MSG_USE_ID_FILTER, 0, 0)
156+
self.init_config = NeousysCanSetup(
157+
bitrate, NEOUSYS_CAN_MSG_USE_ID_FILTER, 0, 0
158+
)
157159

158160
# These can be needed in some old 2.x consepts not needed in 3.6 though
159161
# self.canlib.CAN_RegisterReceived.argtypes = [c_uint, NEOUSYS_CAN_MSG_CALLBACK]
@@ -184,9 +186,7 @@ def __init__(self, channel, device=0, bitrate=500000, **kwargs):
184186
logger.error("Neousys CAN bus Start Error")
185187

186188
except OSError as error:
187-
logger.info(
188-
"Cannot Neousys CAN bus dll or share object: %d", format(error)
189-
)
189+
logger.info("Cannot Neousys CAN bus dll or share object: %d", format(error))
190190

191191
def send(self, msg, timeout=None):
192192
"""

0 commit comments

Comments
 (0)