mirror of
https://github.com/home-assistant/core.git
synced 2025-07-08 22:07: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):
|
||||
""" Retrieve data from DD-WRT and return parsed result """
|
||||
try:
|
||||
response = requests.get(url, auth=(
|
||||
self.username,
|
||||
self.password),
|
||||
response = requests.get(
|
||||
url,
|
||||
auth=(self.username, self.password),
|
||||
timeout=4)
|
||||
except requests.exceptions.Timeout:
|
||||
_LOGGER.exception("Connection to the router timed out")
|
||||
|
Loading…
x
Reference in New Issue
Block a user