From 1ced8795ef21da3cdfd6569b023934b5f02ec948 Mon Sep 17 00:00:00 2001 From: Matthew Welch Date: Thu, 28 Nov 2024 12:09:36 -0800 Subject: [PATCH] remove un-needed code --- browser.py | 1 - 1 file changed, 1 deletion(-) 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)