diff options
author | Brandon Moser <412342+brandonmoser@users.noreply.github.com> | 2021-05-04 20:13:21 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-04 21:13:21 -0400 |
commit | 5d54a56f89ad845f202245cf762916fa15a97ab5 (patch) | |
tree | d2e04199b95e71dbb10e6a875f73d9011ac22dd5 | |
parent | d7bdf37552d99d6a413d9b753bc3c8720917014b (diff) | |
download | websocket-client-5d54a56f89ad845f202245cf762916fa15a97ab5.tar.gz |
Fixing urlparse scheme in Python 2.6.1 (#332)
-rw-r--r-- | websocket/_url.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/websocket/_url.py b/websocket/_url.py index 4de5190..92ff939 100644 --- a/websocket/_url.py +++ b/websocket/_url.py @@ -47,7 +47,7 @@ def parse_url(url): scheme, url = url.split(":", 1) - parsed = urlparse(url, scheme="ws") + parsed = urlparse(url, scheme="http") if parsed.hostname: hostname = parsed.hostname else: |