tarina

git clone https://git.tarina.org/tarina
Log | Files | Refs | README | LICENSE

commit 861b78a9abc6b830cef7e853f3a5b737d1efec1d
parent 63b871df0ce29dbe881e5efcbbe51910481e0995
Author: Robin Bäckman <robinbackman@gmail.com>
Date:   Tue, 26 Jul 2016 22:05:46 +0300

test

Diffstat:
MVERSION | 2+-
Mtarina.py | 3++-
2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/VERSION b/VERSION @@ -1,2 +1,2 @@ -0.76 +0.77 Eisenstein diff --git a/tarina.py b/tarina.py @@ -417,12 +417,13 @@ def update(tarinaversion, tarinavername): time.sleep(4) timeleft = 0 while timeleft < 5: - writemessage('Updating in ' + str(timeleft) + ' seconds. Press middlebutton to cancel') + writemessage('Updating in ' + str(5 - timeleft) + ' seconds. Press middlebutton to cancel') time.sleep(1) timeleft = timeleft + 1 middlebutton = GPIO.input(5) if middlebutton == False: return tarinaversion, tarinavername + writemessage('Updating...') os.system('git pull') writemessage('Hold on rebooting Tarina...') time.sleep(3)