Skip to content

Commit

Permalink
Fixing urlparse scheme in Python 2.6.1 (#332)
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonmoser committed May 5, 2021
1 parent d7bdf37 commit 5d54a56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion websocket/_url.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 5d54a56

Please sign in to comment.