From cc4536b1223a72800d664083c7a184a7fcf88c3a Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Sat, 28 Sep 2013 06:02:18 +0000 Subject: [PATCH] make socks proxy work on windows --- test/socks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/socks.py b/test/socks.py index 508f8c2cf..3ad2e67ea 100644 --- a/test/socks.py +++ b/test/socks.py @@ -15,7 +15,7 @@ class MyTCPServer(ThreadingTCPServer): allow_reuse_address = True CLOSE = object() -logging.basicConfig(filename='/dev/stderr', level=logging.INFO) +logging.basicConfig(stream=sys.stderr, level=logging.INFO) VERSION = '\x05' NOAUTH = '\x00'