From d75beeebf49e9b66fb57663784cb4a2a1ab64a4e Mon Sep 17 00:00:00 2001 From: Simon Walters Date: Sat, 19 Aug 2023 14:36:35 +0100 Subject: [PATCH] Update 38-rpi-pibrella.js (#1024) Update to work with python3 on Bullseye --- hardware/Pibrella/38-rpi-pibrella.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hardware/Pibrella/38-rpi-pibrella.js b/hardware/Pibrella/38-rpi-pibrella.js index be8b49f8..0734656a 100644 --- a/hardware/Pibrella/38-rpi-pibrella.js +++ b/hardware/Pibrella/38-rpi-pibrella.js @@ -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."; }