Fix linting errors.

This commit is contained in:
Ford Peprah
2024-08-29 10:01:41 -04:00
parent aa658418bc
commit 88e3a2b87f
2 changed files with 6 additions and 2 deletions

View File

@@ -514,7 +514,9 @@ class Host(AbortableEventEmitter):
if self.hci_sink:
self.hci_sink.on_packet(bytes(packet))
async def send_command(self, command, check_result=False, response_timeout: Optional[int] = None):
async def send_command(
self, command, check_result=False, response_timeout: Optional[int] = None
):
# Wait until we can send (only one pending command at a time)
async with self.command_semaphore:
assert self.pending_command is None