Skip to content

Commit 937e740

Browse files
committed
#484 - reverted to avoid this kind of monkeypatching
Signed-off-by: Chin Yeung Li <[email protected]>
1 parent e8cd52c commit 937e740

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/attributecode/model.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1648,8 +1648,6 @@ def detect_special_char(expression):
16481648

16491649
def valid_api_url(api_url):
16501650
try:
1651-
import ssl
1652-
ssl._create_default_https_context = ssl._create_unverified_context
16531651
request = Request(api_url)
16541652
# This will always goes to exception as no key are provided.
16551653
# The purpose of this code is to validate the provided api_url is correct

0 commit comments

Comments
 (0)