Skip to content

Commit

Permalink
improved documentation for disconnect()
Browse files Browse the repository at this point in the history
Fixes #673
  • Loading branch information
miguelgrinberg committed Apr 9, 2018
1 parent 9413804 commit 73f17fa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion flask_socketio/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -843,7 +843,8 @@ def disconnect(sid=None, namespace=None, silent=False):
def receive_message(msg):
if is_banned(session['username']):
disconnect()
# ...
else:
# ...
:param sid: The session id of the client. If not provided, the client is
obtained from the request context.
Expand Down

0 comments on commit 73f17fa

Please sign in to comment.