Skip to content

Commit

Permalink
fix: avoid TypeError while logging response
Browse files Browse the repository at this point in the history
  • Loading branch information
IATkachenko committed Oct 11, 2022
1 parent 61bc277 commit 7c07708
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tion_btle/tion.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def __init__(self):

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

@property
Expand Down

0 comments on commit 7c07708

Please sign in to comment.