Skip to content

Commit

Permalink
Merge pull request #32 from winek/patch-1
Browse files Browse the repository at this point in the history
Correct sio.emit() call in readme
  • Loading branch information
miguelgrinberg authored Jul 8, 2016
2 parents 3a1ef8a + a1ca2c4 commit 8b37152
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ client:
@sio.on('chat message', namespace='/chat')
def message(sid, data):
print("message ", data)
sio.emit(sid, 'reply')
sio.emit('reply', room=sid)

@sio.on('disconnect', namespace='/chat')
def disconnect(sid):
Expand Down

0 comments on commit 8b37152

Please sign in to comment.