Skip to content

Commit 375cf00

Browse files
committed
codefactor knows better than coderabbitai
1 parent c5e516d commit 375cf00

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

plugwise_usb/nodes/circle_plus.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,8 +134,7 @@ async def enable_auto_join(self) -> bool:
134134
"""
135135
_LOGGER.info("Enabling auto-join for CirclePlus")
136136
request = CirclePlusAllowJoiningRequest(self._send, True)
137-
response = await request.send()
138-
if response is None:
137+
if (response := await request.send()) is None:
139138
return False
140139

141140
# JOIN_ACCEPTED is the ACK for enable=True

0 commit comments

Comments
 (0)