add return None for get_actiontec_data
This commit is contained in:
1 parent
63e441c73f
commit
93bd238be5
1 file changed
+1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user