diff options
Diffstat (limited to 'Lib/gopherlib.py')
-rw-r--r-- | Lib/gopherlib.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/gopherlib.py b/Lib/gopherlib.py index 7550d5c..cf06e95 100644 --- a/Lib/gopherlib.py +++ b/Lib/gopherlib.py @@ -69,7 +69,7 @@ def send_selector(selector, host, port = 0): s.connect(host, port) s.send(selector + CRLF) s.shutdown(1) - return s.makefile('r') + return s.makefile('rb') # Send a selector and a query string def send_query(selector, query, host, port = 0): |