mirror of https://github.com/node-red/node-red.git
Pi Node status not displaying 0 fixed.
This commit is contained in:
parent
31aa3901cc
commit
86ca75bcd5
|
@ -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");
|
||||
|
|
Binary file not shown.
Loading…
Reference in New Issue