Skip to content

Commit

Permalink
update setup.py zip hash
Browse files Browse the repository at this point in the history
  • Loading branch information
shibbo committed Sep 21, 2024
1 parent c5d00c6 commit 0418cbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def install(what):

with urllib.request.urlopen("http://shibbo.net/smg/Compilers.zip") as response, open("Compilers.zip", 'wb') as out:
data = response.read()
if hashlib.sha256(data).hexdigest().upper() != "12D439B707D7AECB1BCD5B321DA406310523357128ABADB1493BED212A4A225F":
if hashlib.sha256(data).hexdigest().upper() != "1856A7CDDD7630F35D2BBF4494B1CD929B21EEFB3363DB82B3E328F2E0F02227":
print("Compilers.zip corrupt")
sys.exit(1)
out.write(data)
Expand Down

0 comments on commit 0418cbb

Please sign in to comment.