aboutsummaryrefslogtreecommitdiff
path: root/desktop/scripts
diff options
context:
space:
mode:
authorMicah Lee <micah@micahflee.com>2022-06-19 15:28:04 -0400
committerMicah Lee <micah@micahflee.com>2022-06-19 15:28:04 -0400
commit3d1b122bcafe195d7787883c10f73d3e82d0d42e (patch)
tree6b5a18a4dcd99f36c5c6027bbd5d5258ed3d4e00 /desktop/scripts
parent038e1e9ef06418f6d82fa3714383d1312e70e350 (diff)
downloadonionshare-3d1b122bcafe195d7787883c10f73d3e82d0d42e.tar.gz
onionshare-3d1b122bcafe195d7787883c10f73d3e82d0d42e.zip
Fix get-tor bug
Diffstat (limited to 'desktop/scripts')
-rw-r--r--desktop/scripts/get-tor.py2
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()