diff options
author | Lucas Hussey <lhthegame@gmail.com> | 2019-10-25 00:40:11 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-25 00:40:11 -0400 |
commit | f3d07c6c96d0cc3cee2c05e6895325e8bc640215 (patch) | |
tree | 1ca0f68d6240fe5644cb2c4b144245575bf9e9f3 /websocket | |
parent | 3c25814664fef5b78716ed8841123ed1c0d17824 (diff) | |
download | websocket-client-f3d07c6c96d0cc3cee2c05e6895325e8bc640215.tar.gz |
Fixed typo
Class name "SSLDispacther" had a typo, should be "SSLDispatcher". Fixed class definition, and instance creation (in create_dispatcher).
Diffstat (limited to 'websocket')
-rw-r--r-- | websocket/_app.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/websocket/_app.py b/websocket/_app.py index 81aa1fc..4e76e87 100644 --- a/websocket/_app.py +++ b/websocket/_app.py @@ -54,7 +54,7 @@ class Dispatcher: break check_callback() -class SSLDispacther: +class SSLDispatcher: def __init__(self, app, ping_timeout): self.app = app self.ping_timeout = ping_timeout @@ -314,7 +314,7 @@ class WebSocketApp(object): def create_dispatcher(self, ping_timeout): timeout = ping_timeout or 10 if self.sock.is_ssl(): - return SSLDispacther(self, timeout) + return SSLDispatcher(self, timeout) return Dispatcher(self, timeout) |