From 5ffa56ff9591f53c51715503bf21e54576706601 Mon Sep 17 00:00:00 2001 From: kev Date: Sat, 3 Feb 2018 14:57:21 +0800 Subject: [PATCH] fix 36-rpi-gpio.js --- node-red/patch/36-rpi-gpio.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/node-red/patch/36-rpi-gpio.js b/node-red/patch/36-rpi-gpio.js index d239dec..a7a28da 100644 --- a/node-red/patch/36-rpi-gpio.js +++ b/node-red/patch/36-rpi-gpio.js @@ -15,14 +15,14 @@ module.exports = function(RED) { try { fs.statSync("/usr/share/doc/python-rpi.gpio"); // test on Raspbian - // /usr/lib/python3.5/dist-packages/RPi/GPIO + // /usr/lib/python3.6/dist-packages/RPi/GPIO } catch(err) { try { - fs.statSync("/usr/lib/python3.5/site-packages/RPi/GPIO"); // test on Arch + fs.statSync("/usr/lib/python3.6/site-packages/RPi/GPIO"); // test on Arch } catch(err) { try { - fs.statSync("/usr/lib/python3.5/dist-packages/RPi/GPIO"); // test on Hypriot + fs.statSync("/usr/lib/python3.6/dist-packages/RPi/GPIO"); // test on Hypriot } catch(err) { RED.log.warn(RED._("rpi-gpio.errors.libnotfound"));