Skip to content

Commit 2e47f19

Browse files
author
autoruff
committed
fixup: pw-0138-2 Python code fixed using Ruff
1 parent 5150015 commit 2e47f19

1 file changed

Lines changed: 8 additions & 5 deletions

File tree

plugwise_usb/messages/requests.py

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -173,11 +173,14 @@ async def subscribe_to_response(
173173
self._unsubscribe_stick_response = await stick_subscription_fn(
174174
self._process_stick_response, self._seq_id, None
175175
)
176-
reply_identifiers = tuple(
177-
reply_id
178-
for reply_id in (self._reply_identifier, self._reply_identifier_2)
179-
if reply_id is not None
180-
) or None
176+
reply_identifiers = (
177+
tuple(
178+
reply_id
179+
for reply_id in (self._reply_identifier, self._reply_identifier_2)
180+
if reply_id is not None
181+
)
182+
or None
183+
)
181184
self._unsubscribe_node_response = await node_subscription_fn(
182185
self.process_node_response,
183186
self._mac,

0 commit comments

Comments
 (0)