tarina

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

commit d6a9c896c925a0bc9e5f03aa27f61e6fe72660ea
parent e09bd4b16d9d0e3cc93a82edc3033eb6c14de21f
Author: Robin Bäckman <robinbackman@gmail.com>
Date:   Tue, 26 Jul 2016 17:39:06 +0000

remove /n from version

Diffstat:
Mtarina.py | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tarina.py b/tarina.py @@ -409,7 +409,7 @@ def update(tarinaversion, tarinavername): versionname = f.readline() os.system('rm /tmp/VERSION*') if float(tarinaversion) < float(versionnumber): - writemessage('New version found ' + versionnumber + ' ' + versionname) + writemessage('New version found ' + versionnumber[:-1] + ' ' + versionname[:-1]) time.sleep(4) timeleft = 0 while timeleft < 5: @@ -959,7 +959,7 @@ def main(): t = 0 rectime = '' showrec = '' - vumetermessage('Tarina ' + tarinaversion + ' ' + tarinavername) + vumetermessage('Tarina ' + tarinaversion[:-1] + ' ' + tarinavername[:-1]) thefile = foldername + filename writemessage('Copying video file...') os.system('mv /mnt/tmp/' + filename + '.h264 ' + foldername)