Skip to content

Commit 05ce891

Browse files
committed
Pylint fix
1 parent a6e75c0 commit 05ce891

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

plugwise_usb/network/registry.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -253,6 +253,7 @@ async def register_node(self, mac: str) -> int:
253253
request = NodeAddRequest(self._send_to_controller, bytes(mac, UTF8), True)
254254
try:
255255
response = await request.send()
256+
# pylint: disable-next=consider-using-assignment-expr
256257
if response is None:
257258
raise NodeError(f"Failed to register node {mac}, no response received")
258259
except MessageError as exc:

0 commit comments

Comments
 (0)