Module: check_mk
Branch: master
Commit: 2381c10b1a9d7999a56f49b52aaa6202273282c9
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=2381c10b1a9d79…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Tue Oct 27 15:22:34 2015 +0100
Edition bookmark lists: Fixed exception in complain mode
---
web/plugins/sidebar/shipped.py | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/web/plugins/sidebar/shipped.py b/web/plugins/sidebar/shipped.py
index 77e7c93..022246e 100644
--- a/web/plugins/sidebar/shipped.py
+++ b/web/plugins/sidebar/shipped.py
@@ -1053,7 +1053,10 @@ class BookmarkList(pagetypes.Overridable, pagetypes.Base):
)
def bookmark_config_to_vs(v):
- return (v["title"], v["url"], v["icon"],
v["topic"])
+ if v:
+ return (v["title"], v["url"], v["icon"],
v["topic"])
+ else:
+ return v
def bookmark_vs_to_config(v):
return {