Module: check_mk
Branch: master
Commit: 7b11f132446f548f5a176d9454319e2a6034bdff
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=7b11f132446f54…
Author: Bastian Kuhn <bk(a)mathias-kettner.de>
Date: Fri Dec 5 14:09:44 2014 +0100
Fixed type error in check_mk_base
---
modules/check_mk_base.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/check_mk_base.py b/modules/check_mk_base.py
index 95bcd6a..a167e06 100644
--- a/modules/check_mk_base.py
+++ b/modules/check_mk_base.py
@@ -1857,7 +1857,7 @@ def get_age_human_readable(secs):
# Quote string for use as arguments on the shell
def quote_shell_string(s):
- return "'" + s.replace("'",
"'\"'\"'") + "'"
+ return "'" + str(s).replace("'",
"'\"'\"'") + "'"
# Check if a timeperiod is currently active. We have no other way than