Skip to content

Commit 7c07708

Browse files
committed
fix: avoid TypeError while logging response
1 parent 61bc277 commit 7c07708

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tion_btle/tion.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def __init__(self):
5555

5656
def handleNotification(self, handle: int, data: bytearray):
5757
self._data.append(data)
58-
_LOGGER.debug("Got data in %d response %s", handle, bytes(data).hex())
58+
_LOGGER.debug(f"Got data in {handle} response {bytes(data).hex()}")
5959
_LOGGER.debug(f"{self._data=}")
6060

6161
@property

0 commit comments

Comments
 (0)