fixy w js
This commit is contained in:
5
app.py
5
app.py
@@ -44,7 +44,8 @@ PROTECTED_JS_FILES = {
|
||||
"expenses.js",
|
||||
"toggle_button.js",
|
||||
"user_management.js",
|
||||
"mass_add.js"
|
||||
"mass_add.js",
|
||||
"functions.js"
|
||||
}
|
||||
|
||||
os.makedirs(UPLOAD_FOLDER, exist_ok=True)
|
||||
@@ -1141,7 +1142,7 @@ def handle_join(data):
|
||||
emit('user_joined', {'username': username}, to=room)
|
||||
emit('user_list', {'users': list(active_users[room])}, to=room)
|
||||
emit('joined_confirmation', {'room': room, 'list_title': list_title})
|
||||
|
||||
|
||||
@socketio.on('disconnect')
|
||||
def handle_disconnect(sid):
|
||||
global active_users
|
||||
|
Reference in New Issue
Block a user