Update downloader.py from pymodules

This commit is contained in:
CorpNewt 2019-03-06 22:13:52 -06:00
parent 4626432be2
commit ab838d4646

View file

@ -32,7 +32,7 @@ class Downloader:
# Py2 and a Cert verify error - let's set the unverified context
context = ssl._create_unverified_context()
try:
response = urlopen(Request(url, headers=headers))
response = urlopen(Request(url, headers=headers), context=context)
except:
# No fixing this - bail
return None