From 0588180ddaf8a69c0cdbe515553b3f0aa0f5f768 Mon Sep 17 00:00:00 2001 From: piair Date: Tue, 4 Apr 2023 20:46:10 +0200 Subject: [PATCH] should be good for now --- latest | 1 - main.py | 6 +++--- version | 1 + 3 files changed, 4 insertions(+), 4 deletions(-) delete mode 100644 latest create mode 100644 version diff --git a/latest b/latest deleted file mode 100644 index 6b7ace3..0000000 --- a/latest +++ /dev/null @@ -1 +0,0 @@ -v5.1.0 diff --git a/main.py b/main.py index f89849b..37953fc 100644 --- a/main.py +++ b/main.py @@ -160,15 +160,15 @@ def check_update(): except Exception as e : print(e) return () - f = open("./latest", 'r') + f = open("./version", 'r') txt = f.readlines()[0].replace("\n","") f.close() if (txt == latest) : - print("already up to date") + print("Already up to date.") else : print(f"updating to {latest}") os.system("git pull") - print(updated) + print("updated") LogPath = config["PATH"]["logpath"] diff --git a/version b/version new file mode 100644 index 0000000..346d9ca --- /dev/null +++ b/version @@ -0,0 +1 @@ +v5.1.1