mirror of
https://github.com/onionshare/onionshare.git
synced 2025-06-20 04:24:21 -04:00
Fix get-tor bug
This commit is contained in:
parent
2b7f66bb76
commit
ad9e7c8b8b
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ def get_tor_windows(platform):
|
||||||
print("Downloading {}".format(win_url))
|
print("Downloading {}".format(win_url))
|
||||||
r = requests.get(win_url)
|
r = requests.get(win_url)
|
||||||
open(win_path, "wb").write(r.content)
|
open(win_path, "wb").write(r.content)
|
||||||
exe_sha256 = hashlib.sha256(r.content).hexdigest()
|
win_sha256 = hashlib.sha256(r.content).hexdigest()
|
||||||
else:
|
else:
|
||||||
print("Already downloaded: {}".format(win_path))
|
print("Already downloaded: {}".format(win_path))
|
||||||
win_data = open(win_path, "rb").read()
|
win_data = open(win_path, "rb").read()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue