mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 19:27:45 +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)
|
_LOGGER.info(self.sysauth)
|
||||||
return True
|
return True
|
||||||
except (ValueError, KeyError) as _:
|
except (ValueError, KeyError) as _:
|
||||||
_LOGGER.error("Couldn't fetch auth tokens!"
|
m = "Couldn't fetch auth tokens! Response was: %s" % response.text
|
||||||
" Response was: %s" % response.text)
|
_LOGGER.error(m)
|
||||||
return False
|
return False
|
||||||
|
|
||||||
@Throttle(MIN_TIME_BETWEEN_SCANS)
|
@Throttle(MIN_TIME_BETWEEN_SCANS)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user