sock.accept() on IPv6 systems is different

This commit is contained in:
Thomas Adamcik 2011-07-03 22:37:45 +02:00
parent 34203e2ba1
commit b3e2e13a8d

View File

@ -86,7 +86,7 @@ class LineProtocol(ThreadingActor):
def __init__(self, sock, addr):
self.sock = sock
self.host, self.port = addr
self.host, self.port = addr[:2]
self.recv_buffer = ''
def on_line_recieved(self, line):