Module: check_mk
Branch: master
Commit: 69642d99866445e19d18bb0c9414feccff00705c
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=69642d99866445…
Author: Bastian Kuhn <bk(a)mathias-kettner.de>
Date: Mon Jun 8 10:21:46 2015 +0200
Fixed minor bug in inventory
---
web/plugins/views/inventory.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/web/plugins/views/inventory.py b/web/plugins/views/inventory.py
index be97d27..4ac6f3a 100644
--- a/web/plugins/views/inventory.py
+++ b/web/plugins/views/inventory.py
@@ -239,7 +239,7 @@ def render_inv_subtree_leaf_value(hostname, tree_id, invpath, node):
text = node.decode("utf-8")
except:
text = node
- html.write(html.attrencode(node))
+ html.write(html.attrencode(text))
elif type(node) == unicode:
html.write(html.attrencode(node))
elif type(node) == int: