Skip to content

Commit d335f3c

Browse files
author
autoruff
committed
fixup: queue Python code reformatted using Ruff
1 parent 38bbf29 commit d335f3c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

plugwise_usb/connection/queue.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,10 +146,10 @@ async def _send_queue_worker(self) -> None:
146146
_LOGGER.debug("Send_queue_worker started")
147147
while self._running and self._stick is not None:
148148
try:
149-
request = await wait_for(self._submit_queue.get(), timeout = 0.5)
149+
request = await wait_for(self._submit_queue.get(), timeout=0.5)
150150
except TimeoutError:
151151
_LOGGER.debug("No queue-item after 0.5s, doing other work")
152-
152+
153153
_LOGGER.debug("Sending from send queue %s", request)
154154
if request.priority == Priority.CANCEL:
155155
self._submit_queue.task_done()

0 commit comments

Comments
 (0)