Skip to content

Commit

Permalink
fix: el parche relacionado al error de DH_KEY_TOO_SMALL debe aplicars…
Browse files Browse the repository at this point in the history
…e a macOS también
  • Loading branch information
cperezabo committed Mar 5, 2024
1 parent 90ef00f commit 980ec2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 980ec2a

Please sign in to comment.