fix for last_results
This commit is contained in:
parent
5533618bd2
commit
b9b751d234
1 changed files with 1 additions and 1 deletions
|
@ -140,10 +140,10 @@ class ActiontecDeviceScanner(object):
|
|||
if len(exclude_targets) > 0:
|
||||
exclude_target_list = [t.ip for t in exclude_targets]
|
||||
|
||||
self.last_results = []
|
||||
actiontec_data = self.get_actiontec_data()
|
||||
if not actiontec_data:
|
||||
return False
|
||||
self.last_results = []
|
||||
for client in exclude_target_list:
|
||||
if client in actiontec_data:
|
||||
actiontec_data.pop(client)
|
||||
|
|
Loading…
Add table
Reference in a new issue