mirror of
https://github.com/node-red/node-red-nodes.git
synced 2025-03-01 10:37:43 +00:00
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name" : "node-red-node-pilcd",
|
||||
"version" : "0.2.1",
|
||||
"version" : "0.3.0",
|
||||
"description" : "A Node-RED node for Raspberry Pi to write to HD44780 style LCD panels.",
|
||||
"dependencies" : {
|
||||
},
|
||||
|
@@ -14,7 +14,7 @@ module.exports = function(RED) {
|
||||
RED.log.warn("rpi-lcd : "+RED._("pilcd.errors.ignorenode"));
|
||||
allOK = false;
|
||||
}
|
||||
else if (!fs.existsSync("/usr/share/doc/python-rpi.gpio")) {
|
||||
else if (!fs.existsSync("/usr/share/doc/python-rpi.gpio") && !fs.existsSync("/usr/share/doc/python3-rpi.gpio")) {
|
||||
RED.log.warn("rpi-lcd : "+RED._("pilcd.errors.libnotfound"));
|
||||
allOK = false;
|
||||
}
|
||||
|
Reference in New Issue
Block a user