Merge pull request #90 from battlemidget/patch-1

_core.py: fix syntax error
This commit is contained in:
liris
2014-06-11 12:41:22 +09:00

View File

@@ -422,7 +422,6 @@ class WebSocket(object):
sslopt = dict(cert_reqs=ssl.CERT_REQUIRED)
certPath = os.path.join(
os.path.dirname(__file__), "cacert.pem")
)
if os.path.isfile(certPath):
sslopt['ca_certs'] = certPath
sslopt.update(self.sslopt)