mirror of
https://github.com/esphome/aioesphomeapi.git
synced 2025-01-06 19:18:03 +01:00
fix crash on debug logging in windows
This commit is contained in:
parent
ac3ee0e76f
commit
e33ed15553
@ -711,9 +711,7 @@ class APIConnection:
|
||||
|
||||
if debug_enabled := self._debug_enabled:
|
||||
for msg in msgs:
|
||||
_LOGGER.debug(
|
||||
"%s: Sending %s: %s", self.log_name, type(msg).__name__, msg
|
||||
)
|
||||
_LOGGER.debug("%s: Sending %s", self.log_name, type(msg).__name__)
|
||||
|
||||
if TYPE_CHECKING:
|
||||
assert self._frame_helper is not None
|
||||
|
Loading…
Reference in New Issue
Block a user