add lables to daemon node

This commit is contained in:
Dave Conway-Jones
2017-01-29 17:46:50 +00:00
parent 316a2fd272
commit faba134e42
2 changed files with 3 additions and 1 deletions

View File

@@ -46,7 +46,8 @@ module.exports = function(RED) {
node.send([{payload:bits.shift()},null,null]);
}
line = bits[0];
} else {
}
else {
if (data && (data.length !== 0)) {
node.send([{payload:data},null,null]);
}