Module: check_mk
Branch: master
Commit: 062b34a00295db7b143494828437c5c6d8e8de6e
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=062b34a00295db…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Mon May 8 16:31:19 2017 +0200
Fixed broken html.debug
Change-Id: I2a9e6de1d44f2d8cd403c33682623a41897e65c0
---
web/htdocs/htmllib.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/web/htdocs/htmllib.py b/web/htdocs/htmllib.py
index 244c921..d33bf8b 100644
--- a/web/htdocs/htmllib.py
+++ b/web/htdocs/htmllib.py
@@ -1689,7 +1689,7 @@ class html(HTMLGenerator, RequestHandler):
formatted = pprint.pformat(element)
except UnicodeDecodeError:
formatted = repr(element)
- self.lowlevel_write(self.render_pre(formatted))
+ self.lowlevel_write("%s" % self.render_pre(formatted))
def log(self, *args):