Add missing exception handler

This commit is contained in:
Patrick Jentsch 2021-08-23 16:43:47 +02:00
parent 5cd18c4c2a
commit e2669e6c25

View File

@ -33,7 +33,10 @@ def socketio_disconnect():
' On disconnect the session id gets removed from the connected sessions
' list.
'''
try:
socketio_sessions.remove(request.sid)
except ValueError:
pass
@socketio.on('start_user_session')