Module: check_mk
Branch: master
Commit: a11b5134288a8b043bfe3bb240000afc509027bd
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=a11b5134288a8b…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Mon Jan 25 11:38:11 2016 +0100
Fixed possible exception when trying to transform dashboards
---
web/htdocs/dashboard.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/web/htdocs/dashboard.py b/web/htdocs/dashboard.py
index 7d00b29..b350d66 100644
--- a/web/htdocs/dashboard.py
+++ b/web/htdocs/dashboard.py
@@ -31,6 +31,7 @@ import wato
loaded_with_language = False
builtin_dashboards = {}
+builtin_dashboards_transformed = False
dashlet_types = {}
# Declare constants to be used in the definitions of the dashboards
@@ -57,8 +58,8 @@ def load_plugins(force):
# Load plugins for dashboards. Currently these files
# just may add custom dashboards by adding to builtin_dashboards.
- load_web_plugins("dashboard", globals())
builtin_dashboards_transformed = False
+ load_web_plugins("dashboard", globals())
# This must be set after plugin loading to make broken plugins raise
# exceptions all the time and not only the first time (when the plugins