add return None for get_actiontec_data

This commit is contained in:
Nolan Gilley 2015-08-24 00:27:26 -04:00
parent 63e441c73f
commit 93bd238be5

View File

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