]> git.ipfire.org Git - thirdparty/httpx.git/commitdiff
Update _config.py
authorTom Christie <tom@tomchristie.com>
Thu, 21 Nov 2024 11:31:57 +0000 (11:31 +0000)
committerGitHub <noreply@github.com>
Thu, 21 Nov 2024 11:31:57 +0000 (11:31 +0000)
httpx/_config.py

index f28fbee472b4d36569637c7fddbda1330bf0462b..590a27a29780357700422d88c8a069a983fe9207 100644 (file)
@@ -25,7 +25,7 @@ def create_ssl_context(verify: ssl.SSLContext | bool = True) -> ssl.SSLContext:
     import truststore
 
     if verify is True:
-        return  truststore.SSLContext(ssl.PROTOCOL_TLS_CLIENT)
+        return truststore.SSLContext(ssl.PROTOCOL_TLS_CLIENT)
     elif verify is False:
         ssl_context = ssl.SSLContext(ssl.PROTOCOL_TLS_CLIENT)
         ssl_context.check_hostname = False