address PR comments

This commit is contained in:
Gilles Boccon-Gibod
2023-04-18 14:58:31 -07:00
parent 3442358dea
commit 4286b2ab59
2 changed files with 2 additions and 2 deletions

View File

@@ -2808,7 +2808,7 @@ class Device(CompositeEventEmitter):
) )
) )
AsyncRunner.spawn(confirm()) AsyncRunner.spawn(connection.abort_on('disconnection', confirm()))
return return
if io_capability == HCI_DISPLAY_ONLY_IO_CAPABILITY: if io_capability == HCI_DISPLAY_ONLY_IO_CAPABILITY:

View File

@@ -114,7 +114,7 @@ class PairingDelegate:
return True return True
async def confirm(self) -> bool: async def confirm(self) -> bool:
"""Respond yes or not to a Pairing confirmation question.""" """Respond yes or no to a Pairing confirmation question."""
return True return True
# pylint: disable-next=unused-argument # pylint: disable-next=unused-argument