From 93bd238be5c1754e431360435d09aa7b845e7542 Mon Sep 17 00:00:00 2001 From: Nolan Gilley Date: Mon, 24 Aug 2015 00:27:26 -0400 Subject: [PATCH] add return None for get_actiontec_data --- homeassistant/components/device_tracker/actiontec.py | 1 + 1 file changed, 1 insertion(+) diff --git a/homeassistant/components/device_tracker/actiontec.py b/homeassistant/components/device_tracker/actiontec.py index 41e209ac506..d9e89ab7157 100644 --- a/homeassistant/components/device_tracker/actiontec.py +++ b/homeassistant/components/device_tracker/actiontec.py @@ -130,6 +130,7 @@ class ActiontecDeviceScanner(object): telnet.read_until(prompt) leases_result = telnet.read_until(prompt).split(b'\n')[1:-1] telnet.write('exit\n'.encode('ascii')) + return None except EOFError: _LOGGER.exception("Unexpected response from router") return