Fixed travis CI indenting error
parent
05239c26f9
commit
a9ce12be34
|
@ -132,9 +132,9 @@ class DdWrtDeviceScanner(object):
|
||||||
def get_ddwrt_data(self, url):
|
def get_ddwrt_data(self, url):
|
||||||
""" Retrieve data from DD-WRT and return parsed result """
|
""" Retrieve data from DD-WRT and return parsed result """
|
||||||
try:
|
try:
|
||||||
response = requests.get(url, auth=(
|
response = requests.get(
|
||||||
self.username,
|
url,
|
||||||
self.password),
|
auth=(self.username, self.password),
|
||||||
timeout=4)
|
timeout=4)
|
||||||
except requests.exceptions.Timeout:
|
except requests.exceptions.Timeout:
|
||||||
_LOGGER.exception("Connection to the router timed out")
|
_LOGGER.exception("Connection to the router timed out")
|
||||||
|
|
Loading…
Reference in New Issue