From 8791e1a2d82f6f1806e87f5ec6329d4ae8fe5a6e Mon Sep 17 00:00:00 2001 From: Tobias Perschon Date: Fri, 15 Mar 2019 23:34:45 +0100 Subject: [PATCH] py3 ready --- install.sh | 2 +- video_looper.conf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 74d9343..9ebf0ff 100755 --- a/install.sh +++ b/install.sh @@ -11,7 +11,7 @@ fi echo "Installing dependencies..." echo "==========================" -apt update && apt -y git install build-essential python3-dev python3 python3-pip python3-pygame supervisor omxplayer +apt update && apt -y install git build-essential python3-dev python3 python3-pip python3-pygame supervisor omxplayer echo "Installing hello_video..." echo "=========================" diff --git a/video_looper.conf b/video_looper.conf index b769d4e..3c9870a 100644 --- a/video_looper.conf +++ b/video_looper.conf @@ -1,7 +1,7 @@ # Supervisord configuration to run video looper at boot and # ensure it runs continuously. [program:video_looper] -command=python -u -m Adafruit_Video_Looper.video_looper +command=python3 -u -m Adafruit_Video_Looper.video_looper autostart=true autorestart=unexpected startsecs=5