Module: check_mk
Branch: master
Commit: dea9ef5f9eb470594bf78c7f331f3418b73487ab
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=dea9ef5f9eb470…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Fri Jun 21 09:27:26 2013 +0200
Fix encoding problem in notify keepalive
---
modules/notify.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/notify.py b/modules/notify.py
index 2bc9257..1ba3024 100644
--- a/modules/notify.py
+++ b/modules/notify.py
@@ -391,7 +391,7 @@ def notify_get_context():
try:
for line in this_part.split('\n'):
varname, value = line.strip().split("=", 1)
- context[varname] = value
+ context[varname] = value.decode("utf-8")
except Exception, e: # line without '=' ignored or alerted
if opt_debug:
raise