summaryrefslogtreecommitdiff
path: root/websocket/_http.py
diff options
context:
space:
mode:
Diffstat (limited to 'websocket/_http.py')
-rw-r--r--websocket/_http.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/websocket/_http.py b/websocket/_http.py
index 8d82521..fe97480 100644
--- a/websocket/_http.py
+++ b/websocket/_http.py
@@ -101,7 +101,7 @@ def _open_proxied_socket(url, options, proxy):
def connect(url, options, proxy, socket):
- if proxy.host and not socket and not(proxy.type == 'http'):
+ if proxy.host and not socket and not (proxy.type == 'http'):
return _open_proxied_socket(url, options, proxy)
hostname, port, resource, is_secure = parse_url(url)