mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-12-24 10:34:17 +00:00
Add missing exception handler
This commit is contained in:
parent
5cd18c4c2a
commit
e2669e6c25
@ -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')
|
||||
|
Loading…
Reference in New Issue
Block a user