Skip to content
Snippets Groups Projects
Commit e2669e6c authored by Patrick Jentsch's avatar Patrick Jentsch
Browse files

Add missing exception handler

parent 5cd18c4c
No related branches found
No related tags found
No related merge requests found
......@@ -33,7 +33,10 @@ def socketio_disconnect():
' On disconnect the session id gets removed from the connected sessions
' list.
'''
socketio_sessions.remove(request.sid)
try:
socketio_sessions.remove(request.sid)
except ValueError:
pass
@socketio.on('start_user_session')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment