Skip to content

Commit

Permalink
Version 2.6
Browse files Browse the repository at this point in the history
Get rid of an old error message
  • Loading branch information
Technetium1 committed Jun 15, 2021
1 parent ed55c08 commit cbc8212
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions ChocolateyUpdate.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
import certifi
import sys

version = "2.5"
version = "2.6"


def printascii():
Expand Down Expand Up @@ -132,7 +132,7 @@ def selfupdate():
elif currentversion == version:
print("\nAlready at latest GitHub release!\n")
else:
print("\nSomething went wrong checking for updates! If this continues please report to https://github.com/Technetium1/ChocolateyUpdate\n")
print("\nSomething unexpected happened while updating! If this continues please report to https://github.com/Technetium1/ChocolateyUpdate\n")
system("pause")
raise SystemExit
if updateresult["assets"] and currentversion > version:
Expand All @@ -156,8 +156,6 @@ def selfupdate():
print("Update completed! Restart ChocolateyUpdate to complete!")
system("pause")
raise SystemExit
else:
print("\nSomething unexpected happened while updating! If this continues please report to https://github.com/Technetium1/ChocolateyUpdate\n")


admincheck()

0 comments on commit cbc8212

Please sign in to comment.