mirror of
https://github.com/home-assistant/core.git
synced 2025-07-08 13:57:10 +00:00
Fixed travis CI indenting error
This commit is contained in:
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…
x
Reference in New Issue
Block a user