8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9f9fb41 commit 0dcf5a4Copy full SHA for 0dcf5a4
tools/get.py
@@ -70,9 +70,12 @@ def get_tool(tool):
70
local_path = dist_dir + archive_name
71
url = tool['url']
72
#real_hash = tool['checksum'].split(':')[1]
73
+ ctx = ssl.create_default_context()
74
+ ctx.check_hostname = False
75
+ ctx.verify_mode = ssl.CERT_NONE
76
if not os.path.isfile(local_path):
77
print('Downloading ' + archive_name);
- urlretrieve(url, local_path, report_progress)
78
+ urlretrieve(url, local_path, report_progress,context=ctx)
79
sys.stdout.write("\rDone\n")
80
sys.stdout.flush()
81
else:
0 commit comments