Module: check_mk
Branch: master
Commit: 00a43bf70bf63eaa3f518193c84ccd33fcb3bb5c
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=00a43bf70bf63e…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Tue May 8 10:23:19 2018 +0200
Fixed creating directories after refactoring
Change-Id: I8d067e634fe1882640d97eb0dcaf06dbfa4ef18b
---
web/htdocs/watolib.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/web/htdocs/watolib.py b/web/htdocs/watolib.py
index 97e2bd8..af012d5 100644
--- a/web/htdocs/watolib.py
+++ b/web/htdocs/watolib.py
@@ -370,7 +370,7 @@ class ConfigDomain(object):
for varname, value in settings.items():
output += "%s = %s\n" % (varname, pprint.pformat(value))
- store.mkdir(os.path.dirname(filename))
+ store.makedirs(os.path.dirname(filename))
store.save_file(filename, output)