Module: check_mk
Branch: master
Commit: c5feb6c2f84ea3d8fa67cdbac0bab12bf1eaceb6
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=c5feb6c2f84ea3…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Thu Oct 9 15:26:52 2014 +0200
Fix exception when creating a new view
---
web/htdocs/views.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/web/htdocs/views.py b/web/htdocs/views.py
index 4c30441..e5df3ce 100644
--- a/web/htdocs/views.py
+++ b/web/htdocs/views.py
@@ -517,7 +517,7 @@ def render_view_config(view, general_properties=True):
view['datasource'] = ds_name
for ident, vs in view_editor_specs(ds_name, general_properties):
- vs.render_input(ident, view[ident])
+ vs.render_input(ident, view.get(ident))
# Is used to change the view structure to be compatible to
# the valuespec This needs to perform the inverted steps of the