mirror of
https://github.com/home-assistant/core.git
synced 2025-04-23 16:57:53 +00:00
Fixed travis another CI indenting error
This commit is contained in:
parent
a9ce12be34
commit
a959c48708
@ -46,7 +46,7 @@ class DdWrtDeviceScanner(object):
|
||||
|
||||
self.mac2name = None
|
||||
|
||||
#test the router is accessible
|
||||
# Test the router is accessible
|
||||
url = 'http://{}/Status_Wireless.live.asp'.format(self.host)
|
||||
data = self.get_ddwrt_data(url)
|
||||
self.success_init = data is not None
|
||||
@ -142,7 +142,7 @@ class DdWrtDeviceScanner(object):
|
||||
if response.status_code == 200:
|
||||
return _parse_ddwrt_response(response.text)
|
||||
elif response.status_code == 401:
|
||||
# Authentication error
|
||||
# Authentication error
|
||||
_LOGGER.exception(
|
||||
"Failed to authenticate, "
|
||||
"please check your username and password")
|
||||
|
Loading…
x
Reference in New Issue
Block a user