From 2bb57b81f211f5c16d9542620b180dd5097d57c7 Mon Sep 17 00:00:00 2001 From: Jack Jansen Date: Wed, 14 Feb 1996 16:06:24 +0000 Subject: Changed makefile() args from r/w to rb/wb, for non-unix compatability. --- Lib/gopherlib.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Lib/gopherlib.py') diff --git a/Lib/gopherlib.py b/Lib/gopherlib.py index 7550d5c607..cf06e95830 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): -- cgit v1.2.1