Use % formatting
This commit is contained in:
1 parent
b6827ce57a
commit
dd7690f265
1 file changed
+1
-1
@@ -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