Beispiel #1
0
def store_socket():
    current_id = json.loads(session['log'])['id']
    user = User()
    user.update_socket(current_id, '')
Beispiel #2
0
def store_socket():
    current_id = json.loads(session['log'])['id']
    socket_id = request.sid
    user = User()
    user.update_socket(current_id, socket_id)