Răsfoiți Sursa

Corrected another error in README example code

Taddeus Kroes 12 ani în urmă
părinte
comite
80ac440e57
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  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()