commit 160751ceb325a5e45ce16f835a2cff3fb92dc75d
parent 7f1eb4abb4c33e190644a891d97aeda78b70c1e3
Author: therealFIGBERT <figbertwelner@gmail.com>
Date: Wed, 24 Jul 2019 15:12:47 -0700
Fixing version_check.py bugs
Diffstat:
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/Scripts/figENC.py b/Scripts/figENC.py
@@ -432,7 +432,7 @@ class App():
justify=tk.LEFT,
font=("Arial", str(self.settings["font_size"])),
bg="#1A181C",
- fg="#F2DAFF",
+ fg="#84D373",
pady=2
)
self.update_status.pack(side=tk.LEFT)
diff --git a/Scripts/version_check.py b/Scripts/version_check.py
@@ -1,9 +1,9 @@
import requests
def update_available():
- git_import = int(requests.get("https://raw.githubusercontent.com/therealFIGBERT/figENC/master/Scripts/_version.py").text)
+ git_import = requests.get("https://raw.githubusercontent.com/therealFIGBERT/figENC/master/Scripts/version.txt").text
with open("version.txt") as local:
- local_version = int(local.read())
+ local_version = local.read()
if local_version < git_import:
return True
else: