summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xproxy.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/proxy.py b/proxy.py
index 4712ab2..5ccf3e0 100755
--- a/proxy.py
+++ b/proxy.py
@@ -77,7 +77,7 @@ class Fetcher(asynchat.async_chat):
self.reader.handle_incoming_http_header(self.http_header)
def __str__(self):
- return "<Fetcher proxy=%s url=%s range=%s" % (self.proxy, self.url, self.range)
+ return "<Fetcher proxy=%s url=%s range=%s" % (self.proxy, urlparse.urlunparse(self.url), self.range)
class MultipleProxyReader(object):
def __init__(self, channel, url, header, content_length):