Commit 09ed63b1 authored by Taddeüs Kroes's avatar Taddeüs Kroes

Fixed function parameter order

parent 390212ed
...@@ -29,7 +29,7 @@ class Server(object): ...@@ -29,7 +29,7 @@ class Server(object):
logging.debug('Attempting handshake with %s:%d' % address) logging.debug('Attempting handshake with %s:%d' % address)
self.handshake(client_socket) self.handshake(client_socket)
client = Client(client_socket, address, self) client = Client(self, client_socket, address)
self.clients.append(client) self.clients.append(client)
logging.info('Registered client %s', client) logging.info('Registered client %s', client)
self.onopen(client) self.onopen(client)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment