We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a6e75c0 commit 05ce891Copy full SHA for 05ce891
1 file changed
plugwise_usb/network/registry.py
@@ -253,6 +253,7 @@ async def register_node(self, mac: str) -> int:
253
request = NodeAddRequest(self._send_to_controller, bytes(mac, UTF8), True)
254
try:
255
response = await request.send()
256
+ # pylint: disable-next=consider-using-assignment-expr
257
if response is None:
258
raise NodeError(f"Failed to register node {mac}, no response received")
259
except MessageError as exc:
0 commit comments