Module: check_mk
Branch: master
Commit: e5d8ba1d806dde859ab390195a4efe44e49f0748
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=e5d8ba1d806dde…
Author: Sebastian Herbord <sh(a)mathias-kettner.de>
Date: Tue Feb 16 16:39:23 2016 +0100
fixed "NoneType has no attribute values" when opening BI view
---
web/htdocs/sites.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/web/htdocs/sites.py b/web/htdocs/sites.py
index 9b1b784..6fde86d 100644
--- a/web/htdocs/sites.py
+++ b/web/htdocs/sites.py
@@ -57,6 +57,8 @@ def state(site_id, deflt=None):
# Returns dictionary of all known site states
def states():
+ if _live == None:
+ connect()
return _site_status