summaryrefslogtreecommitdiff
path: root/websocket
diff options
context:
space:
mode:
authorliris <liris.pp@gmail.com>2019-12-25 21:12:30 +0900
committerGitHub <noreply@github.com>2019-12-25 21:12:30 +0900
commitc1d25277f25a76c36601874ebfd7db8d24425de8 (patch)
treef3eff15471c2ae699f7dc0897d4cf9bfb019e5d8 /websocket
parentfd2f927edacd53c8f92a05b21cd3724fa95e7072 (diff)
parentaf502e5ae513203638f53a31cf64ec2d85835981 (diff)
downloadwebsocket-client-c1d25277f25a76c36601874ebfd7db8d24425de8.tar.gz
Merge pull request #577 from filips123/dummy-ssl-object
Create dummy `ssl` object
Diffstat (limited to 'websocket')
-rw-r--r--websocket/_ssl_compat.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/websocket/_ssl_compat.py b/websocket/_ssl_compat.py
index 5b3c413..96cd173 100644
--- a/websocket/_ssl_compat.py
+++ b/websocket/_ssl_compat.py
@@ -49,4 +49,6 @@ except ImportError:
class SSLWantWriteError(Exception):
pass
+ ssl = lambda: None
+
HAVE_SSL = False