Skip to content

Commit

Permalink
hotfix for the update functionality where is it not working sometimes
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmed-al-balochi committed Apr 1, 2022
1 parent 22823e9 commit 0ff32b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion LibreGaming/LibreGaming.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def isLatestVersion(self):
contents = urllib.request.urlopen('https://pypi.org/pypi/'+pkgName+'/json').read()
data = json.loads(contents)
latest_version = data['info']['version']
if latest_version == current_version:
if latest_version != current_version:
self.whoami(True)
update = input("Your LibreGaming version is old, do you want to update?[Y/n]: ")
if update.upper() == "Y" or update.upper() == "YES":
Expand Down

0 comments on commit 0ff32b7

Please sign in to comment.