[fix] re-enable ssl verification for searchcode

closes #784
This commit is contained in:
Adam Tauber 2016-12-16 15:21:27 +01:00
parent cf5c7d050a
commit 19cd2bf3b5
2 changed files with 0 additions and 10 deletions

View file

@ -34,11 +34,6 @@ def request(query, params):
params['url'] = search_url.format(query=urlencode({'q': query}), params['url'] = search_url.format(query=urlencode({'q': query}),
pageno=params['pageno'] - 1) pageno=params['pageno'] - 1)
# Disable SSL verification
# error: (60) SSL certificate problem: unable to get local issuer
# certificate
params['verify'] = False
return params return params

View file

@ -27,11 +27,6 @@ def request(query, params):
params['url'] = search_url.format(query=urlencode({'q': query}), params['url'] = search_url.format(query=urlencode({'q': query}),
pageno=params['pageno'] - 1) pageno=params['pageno'] - 1)
# Disable SSL verification
# error: (60) SSL certificate problem: unable to get local issuer
# certificate
params['verify'] = False
return params return params