Skip to content

Commit

Permalink
Fixing network plugin issue mknx#186
Browse files Browse the repository at this point in the history
  • Loading branch information
rthill committed Jan 15, 2016
1 parent 56cac55 commit e21c62e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/network/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()))
Expand Down

0 comments on commit e21c62e

Please sign in to comment.