Update main.py

This commit is contained in:
ilyastar9999
2025-12-03 10:59:25 +03:00
parent ac332ab845
commit ee3a51e3cb

View File

@@ -310,8 +310,10 @@ async def socketio_listener():
teams = event_data.get('teams', []) teams = event_data.get('teams', [])
tasks = event_data.get('tasks', []) tasks = event_data.get('tasks', [])
print(f" Teams: {', '.join([f\"{t.get('name')} (ID:{t.get('id')})\" for t in teams])}") team_names = ', '.join([f"{t.get('name')} (ID:{t.get('id')})" for t in teams])
print(f" Tasks: {', '.join([t.get('name') for t in tasks])}") task_names = ', '.join([t.get('name') for t in tasks])
print(f" Teams: {team_names}")
print(f" Tasks: {task_names}")
except Exception as e: except Exception as e:
print(f"Error processing init_scoreboard: {e}") print(f"Error processing init_scoreboard: {e}")