Module: check_mk
Branch: master
Commit: 1a2a5bf9022f99f438a732f8a3d01b7416eb6312
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=1a2a5bf9022f99…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Tue Mar 18 15:09:42 2014 +0100
INV: Omit None-text for empty columns
---
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 8b93819..8343c4c 100644
--- a/web/plugins/views/inventory.py
+++ b/web/plugins/views/inventory.py
@@ -377,7 +377,7 @@ def render_inv_subtree_leaf(hostname, invpath, node):
html.write(str(node))
elif type(node) == float:
html.write("%.2f" % node)
- else:
+ elif node != None:
html.write(str(node))
html.write("<br>")