Fixed travis another CI indenting error
This commit is contained in:
parent
a9ce12be34
commit
a959c48708
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue