tarina

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

commit 7ad6252ec02ddf9fc25e4e4883b0fb23f0e7d1b8
parent bcb958048e6e22a7f9ce3891e5bd35b376e72ec6
Author: rbckman <robinbackman@gmail.com>
Date:   Thu,  9 Mar 2017 09:55:36 +0000

update fix

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

diff --git a/tarina.py b/tarina.py @@ -357,14 +357,14 @@ def update(tarinaversion, tarinavername): time.sleep(2) writemessage('Checking for updates...') try: - os.system('wget http://tarina.org/src/tarina/VERSION -P /tmp/') + os.system('wget http://tarina.org/src/tarina/VERSION -P /tmp/VERSION') + f = open('/tmp/VERSION') + versionnumber = f.readline() + versionname = f.readline() + os.system('rm /tmp/VERSION*') except: writemessage('Sorry buddy, no internet connection') return tarinaversion, tarinavername - f = open('/tmp/VERSION') - versionnumber = f.readline() - versionname = f.readline() - os.system('rm /tmp/VERSION*') if float(tarinaversion) < float(versionnumber): writemessage('New version found ' + versionnumber[:-1] + ' ' + versionname[:-1]) time.sleep(4)