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 6cba5e7..1cf5f1a 100644
--- a/websocket/_http.py
+++ b/websocket/_http.py
@@ -154,7 +154,7 @@ def _tunnel(sock, host, port, auth):
if status != 200:
raise WebSocketProxyException(
- "failed CONNECT via proxy status: " + str(status))
+ "failed CONNECT via proxy status: %r" + status)
def read_headers(sock):