Skip to content

Commit 7b6a1a6

Browse files
autoblackbouwew
authored andcommitted
fixup: fix_memory_leak Python code reformatted using Black
1 parent 0152798 commit 7b6a1a6

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

plugwise/controller.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -234,18 +234,14 @@ def _send_message_loop(self):
234234
_LOGGER.info(
235235
"Send %s to %s using seq_id %s",
236236
self.expected_responses[seq_id][0].__class__.__name__,
237-
self.expected_responses[seq_id][0].mac.decode(
238-
UTF8_DECODE
239-
),
237+
self.expected_responses[seq_id][0].mac.decode(UTF8_DECODE),
240238
str(seq_id),
241239
)
242240
else:
243241
_LOGGER.info(
244242
"Resend %s to %s using seq_id %s, retry %s",
245243
self.expected_responses[seq_id][0].__class__.__name__,
246-
self.expected_responses[seq_id][0].mac.decode(
247-
UTF8_DECODE
248-
),
244+
self.expected_responses[seq_id][0].mac.decode(UTF8_DECODE),
249245
str(seq_id),
250246
str(self.expected_responses[seq_id][2]),
251247
)

0 commit comments

Comments
 (0)