Skip to content

Commit 27a6ec3

Browse files
committed
Make sure to return False
1 parent 46e8b38 commit 27a6ec3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugwise_usb/network/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ def registry(self) -> dict[int, tuple[str, NodeType | None]]:
149149
async def register_node(self, mac: str) -> bool:
150150
"""Register node to Plugwise network."""
151151
if not self.accept_join_request:
152-
return
152+
return False
153153

154154
try:
155155
if (address := await self._register.register_node(mac)):

0 commit comments

Comments
 (0)