From e21c62ed8ee0e9e2c3d5aefa582f058309131dfd Mon Sep 17 00:00:00 2001 From: Raoul Thill Date: Fri, 15 Jan 2016 20:57:30 +0100 Subject: [PATCH] Fixing network plugin issue #186 --- plugins/network/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/network/__init__.py b/plugins/network/__init__.py index 4aa2f66f..adba840f 100755 --- a/plugins/network/__init__.py +++ b/plugins/network/__init__.py @@ -285,7 +285,7 @@ def parse_item(self, item): def update_item(self, item, caller=None, source=None, dest=None): if 'nw_udp_send' in item.conf: addr, __, message = item.conf['nw_udp_send'].partition('=') - if message is None: + if not message: message = str(item()) else: message = message.replace('itemvalue', str(item()))