Module: check_mk
Branch: master
Commit: 9f0f6c1f7c7cbfb7bb595b4bb6d498b363bd7b53
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=9f0f6c1f7c7cbf…
Author: Andreas Boesl <ab(a)mathias-kettner.de>
Date: Sun Nov 1 15:43:43 2015 +0100
fixed still broken sidebar header :)
---
web/htdocs/sidebar.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/web/htdocs/sidebar.py b/web/htdocs/sidebar.py
index a111825..0f6c779 100644
--- a/web/htdocs/sidebar.py
+++ b/web/htdocs/sidebar.py
@@ -160,7 +160,7 @@ def save_user_config(user_config):
def get_check_mk_edition_title():
if not defaults.omd_root:
return "Raw"
- version_link = os.readlink(defaults.omd_root)
+ version_link = os.readlink("%s/version" % defaults.omd_root)
if version_link.endswith(".cee.demo"):
return "Enterprise (Demo)"
elif "cee" in version_link: