Improves error detection
This commit is contained in:
parent
fca0507c8b
commit
9fa51c0294
1 changed files with 1 additions and 1 deletions
|
|
@ -12,7 +12,7 @@ class LLDP():
|
||||||
self.output = output
|
self.output = output
|
||||||
else:
|
else:
|
||||||
self.output = subprocess.getoutput('lldpctl -f keyvalue')
|
self.output = subprocess.getoutput('lldpctl -f keyvalue')
|
||||||
self.data = None #self.parse()
|
self.data = self.parse()
|
||||||
|
|
||||||
def parse(self):
|
def parse(self):
|
||||||
output_dict = {}
|
output_dict = {}
|
||||||
|
|
|
||||||
Loading…
Add table
editor.link_modal.header
Reference in a new issue