diff options
author | Micah Lee <micah@micahflee.com> | 2022-06-19 15:28:04 -0400 |
---|---|---|
committer | Micah Lee <micah@micahflee.com> | 2022-06-19 15:28:04 -0400 |
commit | 3d1b122bcafe195d7787883c10f73d3e82d0d42e (patch) | |
tree | 6b5a18a4dcd99f36c5c6027bbd5d5258ed3d4e00 /desktop/scripts | |
parent | 038e1e9ef06418f6d82fa3714383d1312e70e350 (diff) | |
download | onionshare-3d1b122bcafe195d7787883c10f73d3e82d0d42e.tar.gz onionshare-3d1b122bcafe195d7787883c10f73d3e82d0d42e.zip |
Fix get-tor bug
Diffstat (limited to 'desktop/scripts')
-rw-r--r-- | desktop/scripts/get-tor.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop/scripts/get-tor.py b/desktop/scripts/get-tor.py index bda4e8b8..5df6918f 100644 --- a/desktop/scripts/get-tor.py +++ b/desktop/scripts/get-tor.py @@ -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() |