Skip to content
Snippets Groups Projects
Commit 196b9363 authored by Jan Philipp Timme's avatar Jan Philipp Timme
Browse files

Fix broken bbb-plugin when confronted with scalelite status table header

parent afb44389
No related branches found
No related tags found
No related merge requests found
...@@ -28,6 +28,8 @@ def getStatus(): ...@@ -28,6 +28,8 @@ def getStatus():
if numfields == 8: if numfields == 8:
hrfields = {} hrfields = {}
fields[0] = re.split(r'\.',fields[0])[0] fields[0] = re.split(r'\.',fields[0])[0]
if fields[0] == "HOSTNAME":
continue
hrfields["hostname"] = fields[0] hrfields["hostname"] = fields[0]
hrfields["state"] = fields[1] hrfields["state"] = fields[1]
hrfields["status"] = fields[2] hrfields["status"] = fields[2]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment