Skip to content

Commit 236157e

Browse files
stupidlogicjrdowdl
authored andcommitted
Format code with black
1 parent a44e8c4 commit 236157e

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

can/interfaces/ecom/canlib.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
try:
2323
_ecomlib = CLibrary("ecommlib64.dll")
2424
if _ecomlib is None:
25-
raise CanInterfaceNotImplementedError('CLibrary not loaded.')
25+
raise CanInterfaceNotImplementedError("CLibrary not loaded.")
2626
except Exception as e:
2727
log.error(f"Cannot load ECOMM library: {e}")
2828

@@ -351,7 +351,9 @@ def _recv_extended(self) -> Optional[Message]:
351351
rx_msg = None
352352
return rx_msg
353353

354-
def _recv_internal(self, timeout: Optional[float]) -> Tuple[Optional[Message], bool]:
354+
def _recv_internal(
355+
self, timeout: Optional[float]
356+
) -> Tuple[Optional[Message], bool]:
355357
"""
356358
Read a message from the bus and tell whether it was filtered.
357359
This methods may be called by :meth:`~can.BusABC.recv`

0 commit comments

Comments
 (0)