_core.py: fix syntax error
Fix syntax error with an additional paren
This commit is contained in:
@@ -422,7 +422,6 @@ class WebSocket(object):
|
|||||||
sslopt = dict(cert_reqs=ssl.CERT_REQUIRED)
|
sslopt = dict(cert_reqs=ssl.CERT_REQUIRED)
|
||||||
certPath = os.path.join(
|
certPath = os.path.join(
|
||||||
os.path.dirname(__file__), "cacert.pem")
|
os.path.dirname(__file__), "cacert.pem")
|
||||||
)
|
|
||||||
if os.path.isfile(certPath):
|
if os.path.isfile(certPath):
|
||||||
sslopt['ca_certs'] = certPath
|
sslopt['ca_certs'] = certPath
|
||||||
sslopt.update(self.sslopt)
|
sslopt.update(self.sslopt)
|
||||||
|
Reference in New Issue
Block a user