From 980ec2a5e099291efddc6220a461f0407d14d7bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cristia=CC=81n=20Pe=CC=81rez?= Date: Tue, 5 Mar 2024 20:26:19 -0300 Subject: [PATCH] =?UTF-8?q?fix:=20el=20parche=20relacionado=20al=20error?= =?UTF-8?q?=20de=20DH=5FKEY=5FTOO=5FSMALL=20debe=20aplicarse=20a=20macOS?= =?UTF-8?q?=20tambi=C3=A9n?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils.py b/utils.py index a5503a97d..389889369 100644 --- a/utils.py +++ b/utils.py @@ -90,7 +90,7 @@ import platform monkey_patch = sys.version_info < (3, ) or httplib2._build_ssl_context.__module__ != "httplib2" - needs_patch = platform.system() == 'Linux' or sys.version_info > (3, 10) + needs_patch = platform.system() in ["Linux", "Darwin"] or sys.version_info > (3, 10) if needs_patch and not monkey_patch: _build_ssl_context = httplib2._build_ssl_context