fix crash on debug logging in windows

This commit is contained in:
J. Nick Koston 2024-08-29 10:15:27 -10:00
parent ac3ee0e76f
commit e33ed15553
No known key found for this signature in database

View File

@ -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