From 52ecfedbfcdf9ac042225de4999c568d27e871a5 Mon Sep 17 00:00:00 2001 From: Edward Betts Date: Mon, 7 Oct 2019 10:36:47 +0100 Subject: [PATCH] Disable certificate verification for relaxed SSL. --- depicts/relaxed_ssl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/depicts/relaxed_ssl.py b/depicts/relaxed_ssl.py index 6200c1a..1c70a3a 100644 --- a/depicts/relaxed_ssl.py +++ b/depicts/relaxed_ssl.py @@ -13,4 +13,4 @@ class HTTPSAdapter(HTTPAdapter): def get(*args, **kwargs): s = requests.Session() s.mount('https://', HTTPSAdapter()) - return s.get(*args, **kwargs) + return s.get(*args, **kwargs, verify=False)