mirror of
https://github.com/python-kasa/python-kasa.git
synced 2024-12-22 11:13:34 +00:00
Fix logging in iotdevice when a module is module not supported (#1100)
Debug logger was generating the `repr()` of each module and throwing it away because it had a `%` instead of a `,`
This commit is contained in:
parent
beb7ca2242
commit
b6339be9ec
@ -371,7 +371,7 @@ class IotDevice(Device):
|
||||
est_response_size = 1024 if "system" in req else 0
|
||||
for module in self._modules.values():
|
||||
if not module.is_supported:
|
||||
_LOGGER.debug("Module %s not supported, skipping" % module)
|
||||
_LOGGER.debug("Module %s not supported, skipping", module)
|
||||
continue
|
||||
|
||||
est_response_size += module.estimated_query_response_size
|
||||
|
Loading…
Reference in New Issue
Block a user