Skip to content

Commit a1ca2c4

Browse files
author
winek
authored
Correct sio.emit() call in readme
1 parent 3a1ef8a commit a1ca2c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ client:
6464
@sio.on('chat message', namespace='/chat')
6565
def message(sid, data):
6666
print("message ", data)
67-
sio.emit(sid, 'reply')
67+
sio.emit('reply', room=sid)
6868

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

0 commit comments

Comments
 (0)