Sfoglia il codice sorgente

Fixed function parameter order

Taddeus Kroes 13 anni fa
parent
commit
09ed63b1e1
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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)