Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

Commit

Permalink
Variable change
Browse files Browse the repository at this point in the history
  • Loading branch information
Mickey758 committed Feb 5, 2023
1 parent 8c9db46 commit 874d439
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/updater.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 874d439

Please sign in to comment.