Module: check_mk
Branch: master
Commit: c7f9dde4f8d07f80afb2ed3fa5f153da87f50bee
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=c7f9dde4f8d07f…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Wed May 17 09:44:08 2017 +0200
Fixed duplicate slash in config domain config file paths
Change-Id: I6ee61625b580a88d397e7ef3673a274692c6d139
---
web/htdocs/watolib.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/web/htdocs/watolib.py b/web/htdocs/watolib.py
index 0060127..661a5a2 100644
--- a/web/htdocs/watolib.py
+++ b/web/htdocs/watolib.py
@@ -287,9 +287,9 @@ class ConfigDomain(object):
def config_file(self, site_specific):
if site_specific:
- return "%s/sitespecific.mk" % self.config_dir()
+ return os.path.join(self.config_dir(), "sitespecific.mk")
else:
- return "%s/global.mk" % self.config_dir()
+ return os.path.join(self.config_dir(), "global.mk")
def activate(self):