From 874d439c4fa840b8be62f4e39075334d65da6193 Mon Sep 17 00:00:00 2001 From: MickeyYe <79796196+Mickey758@users.noreply.github.com> Date: Sun, 5 Feb 2023 10:06:56 -0400 Subject: [PATCH] Variable change --- modules/updater.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/updater.py b/modules/updater.py index 6572d1f..f24a588 100644 --- a/modules/updater.py +++ b/modules/updater.py @@ -9,13 +9,13 @@ def check_update(): print(f" [{cyan}>{reset}] Checking for updates") try: - ver = get("https://raw.githubusercontent.com/Mickey758/Calani-AIO/master/version").text.rstrip() + latest_version = get("https://raw.githubusercontent.com/Mickey758/Calani-AIO/master/version").text.rstrip() except: print(f" [{red}>{reset}] Could not connect to server") sleep(2) return - if ver != version: + if latest_version != version: print(f" [{red}>{reset}] Your version is outdated!") print(f" [{cyan}>{reset}] Find the latest version of Calani AIO here: https://github.com/Mickey758/Calani-AIO/releases") input(f" [{cyan}>{reset}] Press enter to ignore")