make socks proxy work on windows

This commit is contained in:
Arvid Norberg 2013-09-28 06:02:18 +00:00
parent ddfd485425
commit cc4536b122
1 changed files with 1 additions and 1 deletions

View File

@ -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'