mirror of
https://github.com/node-red/node-red-nodes.git
synced 2023-10-10 13:36:58 +02:00
Update 38-rpi-pibrella.js (#1024)
Update to work with python3 on Bullseye
This commit is contained in:
parent
4805b3d13b
commit
d75beeebf4
@ -12,7 +12,7 @@ module.exports = function(RED) {
|
||||
throw "Info : Ignoring Raspberry Pibrella specific node.";
|
||||
}
|
||||
|
||||
if (!fs.existsSync("/usr/share/doc/python-rpi.gpio")) {
|
||||
if (!fs.existsSync("/usr/share/doc/python3-rpi.gpio")) {
|
||||
util.log("[rpi-pibrella] Info : Can't find RPi.GPIO python library.");
|
||||
throw "Warning : Can't find RPi.GPIO python library.";
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user