mirror of
https://github.com/home-assistant/core.git
synced 2026-09-04 18:15:04 -05:00
Use % formatting
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user