Pārlūkot izejas kodu

Fixed function parameter order

Taddeus Kroes 13 gadi atpakaļ
vecāks
revīzija
09ed63b1e1
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      server.py

+ 1 - 1
server.py

@@ -29,7 +29,7 @@ class Server(object):
                 logging.debug('Attempting handshake with %s:%d' % address)
                 self.handshake(client_socket)
 
-                client = Client(client_socket, address, self)
+                client = Client(self, client_socket, address)
                 self.clients.append(client)
                 logging.info('Registered client %s', client)
                 self.onopen(client)