Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using Python3 instead Python #1

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion delta-pi-powerbutton.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3


import RPi.GPIO as GPIO
Expand Down
4 changes: 2 additions & 2 deletions script/install
Original file line number Diff line number Diff line change
Expand Up @@ -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"
echo "You need to restart your system to make the changes work"