mirror of
https://github.com/home-assistant/core.git
synced 2025-07-21 12:17:07 +00:00
Use % formatting
This commit is contained in:
parent
b6827ce57a
commit
dd7690f265
@ -198,7 +198,7 @@ class Tplink3DeviceScanner(TplinkDeviceScanner):
|
|||||||
return True
|
return True
|
||||||
except (ValueError, KeyError) as _:
|
except (ValueError, KeyError) as _:
|
||||||
_LOGGER.error("Couldn't fetch auth tokens!"
|
_LOGGER.error("Couldn't fetch auth tokens!"
|
||||||
" Response was: {}".format(response.text))
|
" Response was: %s" % response.text)
|
||||||
return False
|
return False
|
||||||
|
|
||||||
@Throttle(MIN_TIME_BETWEEN_SCANS)
|
@Throttle(MIN_TIME_BETWEEN_SCANS)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user