Fixed travis CI indenting error

This commit is contained in:
jamespcole 2015-03-28 18:59:12 +11:00
parent 05239c26f9
commit a9ce12be34

View File

@ -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")