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