Skip to content

Commit

Permalink
Update src/routers/scene_router.py
Browse files Browse the repository at this point in the history
  • Loading branch information
filip-szweda authored Oct 15, 2023
1 parent a694db8 commit a8cfc2f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/routers/scene_router.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ async def get_ranking():
@router.get("/player-agents/{player_id}")
async def get_agents_from_player_list(player_id: str):
logger.debug(f"Starting to get agents for player {player_id}")

player = state.scene.get_player(player_id)
if player is None:
logger.warning(f"Player with id: {player_id} does not exist")
Expand Down

0 comments on commit a8cfc2f

Please sign in to comment.