From 04c289dab955e1482cc2bb2b4d02f70774ff0f9b Mon Sep 17 00:00:00 2001 From: mcnahum <30963862+mcnahum@users.noreply.github.com> Date: Sun, 14 Nov 2021 16:40:16 +0100 Subject: [PATCH 1/2] Update install Using Python3 instead Python --- script/install | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/script/install b/script/install index 8c64d31..36411b1 100644 --- a/script/install +++ b/script/install @@ -14,11 +14,11 @@ sudo chmod +x /etc/init.d/delta-pi-service-start.sh echo "=> Installing Delta Pi Fan & LED...\n" sudo cp delta-pi-fan-led.py /home/pi -sudo echo 'sudo python /home/pi/delta-pi-fan-led.py' >> /etc/profile +sudo echo 'sudo python3 /home/pi/delta-pi-fan-led.py' >> /etc/profile sudo update-rc.d delta-pi-service-start.sh defaults sudo /etc/init.d/delta-pi-service-start.sh start echo "Delta Pi Features Installed.\n" echo "You need to restart your system to make the changes work" -echo "You need to restart your system to make the changes work" \ No newline at end of file +echo "You need to restart your system to make the changes work" From 54405a9b57a4f22d2cb0a1cc2c2feea8e4dca2c7 Mon Sep 17 00:00:00 2001 From: mcnahum <30963862+mcnahum@users.noreply.github.com> Date: Sun, 14 Nov 2021 16:40:56 +0100 Subject: [PATCH 2/2] Update delta-pi-powerbutton.py Using Python3 instead Python --- delta-pi-powerbutton.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/delta-pi-powerbutton.py b/delta-pi-powerbutton.py index cecc42b..da79d73 100644 --- a/delta-pi-powerbutton.py +++ b/delta-pi-powerbutton.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 import RPi.GPIO as GPIO