Skip to content
Snippets Groups Projects
Commit f167ade2 authored by Davide Vaghetti's avatar Davide Vaghetti
Browse files

Unused context -- FIXED

parent b6767ba0
No related branches found
No related tags found
No related merge requests found
...@@ -16,7 +16,7 @@ context = ssl._create_default_https_context() ...@@ -16,7 +16,7 @@ context = ssl._create_default_https_context()
if args.nocert: if args.nocert:
context = ssl._create_unverified_context() context = ssl._create_unverified_context()
response = urllib2.urlopen(args.discofeed_url) response = urllib2.urlopen(url=args.discofeed_url, context=context)
discofeed_json = json.loads(response.read()) discofeed_json = json.loads(response.read())
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment