1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

Pi Node status not displaying 0 fixed.

This commit is contained in:
dceejay 2015-02-04 19:02:32 +00:00
parent 31aa3901cc
commit 86ca75bcd5
2 changed files with 1 additions and 1 deletions

View File

@ -148,7 +148,7 @@ module.exports = function(RED) {
if (RED.settings.verbose) { node.log("out: "+msg.payload); }
if (node.child !== null) {
node.child.stdin.write(msg.payload+"\n");
node.status({fill:"green",shape:"dot",text:msg.payload});
node.status({fill:"green",shape:"dot",text:msg.payload.toString()});
}
else {
node.error("nrpgio python command not running");

BIN
public/icons/mouse.png Normal file

Binary file not shown.