Explorar o código

Corrected another error in README example code

Taddeus Kroes %!s(int64=12) %!d(string=hai) anos
pai
achega
80ac440e57
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      README.md

+ 1 - 1
README.md

@@ -130,7 +130,7 @@ Basic usage
                 print 'Received message "%s"' % message.payload
                 client.send(wspy.TextMessage(message.payload))
 
-            def onclose(self, client):
+            def onclose(self, client, code, reason):
                 print 'Client %s disconnected' % client
 
         EchoServer(('', 8000)).run()