diff --git a/browser.py b/browser.py index d7de99a..ce31852 100644 --- a/browser.py +++ b/browser.py @@ -28,7 +28,6 @@ class URL: ) s.connect((self.host, self.port)) if self.scheme == "https": - ssl.create_default_context() context = ssl.SSLContext(ssl.PROTOCOL_TLS) s = context.wrap_socket(s, server_hostname=self.host)