commit df3c933b4789e56681e535683c8e2f8a98e6b732
parent 899bd6e7189ad4dfb5281ee6dac2daa7b1cea58d
Author: rbckman <rob@tarina.org>
Date: Mon, 16 Nov 2020 22:15:38 +0200
strip debianversion, install right secrets module gd
Diffstat:
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/install.sh b/install.sh
@@ -51,8 +51,8 @@ echo "installing python-omxplayer-wrapper..."
sudo pip3 install omxplayer-wrapper
echo "installing blessed..."
sudo pip3 install blessed
-echo "installing secret..."
-sudo pip3 install secret
+echo "installing secrets..."
+sudo pip3 install secrets
sudo pip3 install numpy
echo "installing rwb27s openflexure microscope fork of picamera with lens shading correction..."
#sudo pip3 --no-cache-dir install https://github.com/chrisruk/picamera/archive/hq-camera-new-framerates.zip --upgrade
diff --git a/tarina.py b/tarina.py
@@ -37,7 +37,7 @@ term = Terminal()
#DEBIAN VERSION
pipe = subprocess.check_output('lsb_release -c -s', shell=True)
-debianversion = pipe.decode()
+debianversion = pipe.decode().strip()
print('running debian ' + debianversion)
#I2CBUTTONS