Update main.py
This commit is contained in:
@@ -310,8 +310,10 @@ async def socketio_listener():
|
||||
teams = event_data.get('teams', [])
|
||||
tasks = event_data.get('tasks', [])
|
||||
|
||||
print(f" Teams: {', '.join([f\"{t.get('name')} (ID:{t.get('id')})\" for t in teams])}")
|
||||
print(f" Tasks: {', '.join([t.get('name') for t in tasks])}")
|
||||
team_names = ', '.join([f"{t.get('name')} (ID:{t.get('id')})" for t in teams])
|
||||
task_names = ', '.join([t.get('name') for t in tasks])
|
||||
print(f" Teams: {team_names}")
|
||||
print(f" Tasks: {task_names}")
|
||||
|
||||
except Exception as e:
|
||||
print(f"Error processing init_scoreboard: {e}")
|
||||
|
||||
Reference in New Issue
Block a user