Module: check_mk
Branch: master
Commit: 564b6d262ddc9e5e632b5902723b578b8bbfe24e
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=564b6d262ddc9e…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Mon Dec 12 12:25:56 2016 +0100
Fixed unicode handling caused by recent HTML() recoding
Change-Id: I57d21ac51f6fab4a7d39ba1324fe26a6459b2edd
---
web/plugins/views/painters.py | 3 ---
1 file changed, 3 deletions(-)
diff --git a/web/plugins/views/painters.py b/web/plugins/views/painters.py
index bc6a73d..808a6e2 100644
--- a/web/plugins/views/painters.py
+++ b/web/plugins/views/painters.py
@@ -309,9 +309,6 @@ def process_multisite_icons(what, row, tags, custom_vars, toplevel):
elif type(result) in [str, unicode, HTML]:
- if isinstance(result, HTML):
- result = "%s" % result
-
# TODO: This is handling the deprecated API with 1.2.7. Remove this
one day.
if result[0] == '<':
# seems like an old format icon (html code). In regular
rendering