from . import *
current_num = [0]


@socketio.on('connect')
def joinning_add():
    emit('update', current_num[-1])


@socketio.on('plusone')
def tell_add(msg):
    current_num
    result = current_num[-1] + 1
    current_num.append(result)
    emit('update', result, broadcast=True)

03e3ec00369b6e706910362ff75af9a9d0fff5c7
<mask token>


@socketio.on('connect')
def joinning_add():
    emit('update', current_num[-1])


<mask token>

<mask token>


@socketio.on('connect')
def joinning_add():
    emit('update', current_num[-1])


@socketio.on('plusone')
def tell_add(msg):
    current_num
    result = current_num[-1] + 1
    current_num.append(result)
    emit('update', result, broadcast=True)

<mask token>
current_num = [0]


@socketio.on('connect')
def joinning_add():
    emit('update', current_num[-1])


@socketio.on('plusone')
def tell_add(msg):
    current_num
    result = current_num[-1] + 1
    current_num.append(result)
    emit('update', result, broadcast=True)

from . import *
current_num = [0]


@socketio.on('connect')
def joinning_add():
    emit('update', current_num[-1])


@socketio.on('plusone')
def tell_add(msg):
    current_num
    result = current_num[-1] + 1
    current_num.append(result)
    emit('update', result, broadcast=True)
