diff --git a/websocket/_http.py b/websocket/_http.py index ba3d550..7da328e 100644 --- a/websocket/_http.py +++ b/websocket/_http.py @@ -134,7 +134,7 @@ def _wrap_sni_socket(sock, sslopt, hostname, check_hostname): context.set_ciphers(sslopt['ciphers']) if 'cert_chain' in sslopt : certfile,keyfile,password = sslopt['cert_chain'] - context.load_cert_chain(certfile,keyfile,password) + context.load_cert_chain(certfile, keyfile, password) return context.wrap_socket( sock,