should be good for now

This commit is contained in:
piair 2023-04-04 20:46:10 +02:00
parent 9995bc8e25
commit 0588180dda
3 changed files with 4 additions and 4 deletions

1
latest
View File

@ -1 +0,0 @@
v5.1.0

View File

@ -160,15 +160,15 @@ def check_update():
except Exception as e : except Exception as e :
print(e) print(e)
return () return ()
f = open("./latest", 'r') f = open("./version", 'r')
txt = f.readlines()[0].replace("\n","") txt = f.readlines()[0].replace("\n","")
f.close() f.close()
if (txt == latest) : if (txt == latest) :
print("already up to date") print("Already up to date.")
else : else :
print(f"updating to {latest}") print(f"updating to {latest}")
os.system("git pull") os.system("git pull")
print(updated) print("updated")
LogPath = config["PATH"]["logpath"] LogPath = config["PATH"]["logpath"]

1
version Normal file
View File

@ -0,0 +1 @@
v5.1.1