Module: check_mk
Branch: master
Commit: 950b10e885f7ba0d64d8f0969fff4e713435c5e6
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=950b10e885f7ba…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Fri Oct 30 14:23:02 2015 +0100
Fixed bug from last commit. Should go home now.
---
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 f69b141..a111825 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("/omd/sites/heute/version")
+ version_link = os.readlink(defaults.omd_root)
if version_link.endswith(".cee.demo"):
return "Enterprise (Demo)"
elif "cee" in version_link: