mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 11:17:21 +00:00
Dont add two strings inside logger call
This commit is contained in:
parent
dd7690f265
commit
bc0559813c
@ -197,8 +197,8 @@ class Tplink3DeviceScanner(TplinkDeviceScanner):
|
||||
_LOGGER.info(self.sysauth)
|
||||
return True
|
||||
except (ValueError, KeyError) as _:
|
||||
_LOGGER.error("Couldn't fetch auth tokens!"
|
||||
" Response was: %s" % response.text)
|
||||
m = "Couldn't fetch auth tokens! Response was: %s" % response.text
|
||||
_LOGGER.error(m)
|
||||
return False
|
||||
|
||||
@Throttle(MIN_TIME_BETWEEN_SCANS)
|
||||
|
Loading…
x
Reference in New Issue
Block a user