Compare commits

..

2 commits

2 changed files with 7 additions and 5 deletions

View file

@ -8,7 +8,7 @@ from serial.serialutil import SerialException
mapid.load_dotenv() mapid.load_dotenv()
FIFO = return os.environ.get("FIFO") FIFO = os.environ.get("FIFO")
def main(): def main():

View file

@ -3,11 +3,13 @@
source "$(dirname $0)/.env" source "$(dirname $0)/.env"
#FIFO=/tmp/mapid #LINE1='Backup finished!'
LINE1='Backup finished!' #LINE2=''
LINE2='' [ -t /dev/stdin ] && printf "Line 1> "; read LINE1
[ -t /dev/stdin ] && printf "Line 2> "; read LINE2
LED_BLINK=".5s" LED_BLINK=".5s"
DISPLAY_DURATION="4s" #DISPLAY_DURATION="4s"
DISPLAY_DURATION="10s"
if [[ ! -e $FIFO ]]; then if [[ ! -e $FIFO ]]; then