diff options
| author | Filip Š <filip.stamcar@hotmail.com> | 2019-10-04 19:42:07 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-10-04 19:42:07 +0200 |
| commit | af502e5ae513203638f53a31cf64ec2d85835981 (patch) | |
| tree | 892c85f8d5379b9afa4aa2645438b3a5a20ecefd | |
| parent | 3c25814664fef5b78716ed8841123ed1c0d17824 (diff) | |
| download | websocket-client-af502e5ae513203638f53a31cf64ec2d85835981.tar.gz | |
Create dummy `ssl` object
| -rw-r--r-- | websocket/_ssl_compat.py | 2 |
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 |
