Fix get-tor bug

This commit is contained in:
Micah Lee 2022-06-19 15:28:04 -04:00
parent 038e1e9ef0
commit 3d1b122bca
No known key found for this signature in database
GPG Key ID: 403C2657CD994F73

View File

@ -66,7 +66,7 @@ def get_tor_windows(platform):
print("Downloading {}".format(win_url))
r = requests.get(win_url)
open(win_path, "wb").write(r.content)
exe_sha256 = hashlib.sha256(r.content).hexdigest()
win_sha256 = hashlib.sha256(r.content).hexdigest()
else:
print("Already downloaded: {}".format(win_path))
win_data = open(win_path, "rb").read()