Module: check_mk
Branch: master
Commit: f66e432d02bff2630e4eafcc231da0730bef2afa
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=f66e432d02bff2…
Author: Andreas Boesl <ab(a)mathias-kettner.de>
Date: Mon Jul 18 11:26:39 2016 +0200
fixed obvious bug
---
doc/treasures/active_checks/check_mail | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/doc/treasures/active_checks/check_mail
b/doc/treasures/active_checks/check_mail
index f4e96c1..99974b7 100755
--- a/doc/treasures/active_checks/check_mail
+++ b/doc/treasures/active_checks/check_mail
@@ -312,7 +312,7 @@ def forward_to_ec(mails):
payload = base64.b64decode(payload)
log_line += '|' + payload[:body_limit]
break
- else:
+ else:
payload = msg.get_payload()
if encoding == "base64":
payload = base64.b64decode(payload)