diff --git a/cutt/player.py b/cutt/player.py index 86f45bb..23dff1d 100644 --- a/cutt/player.py +++ b/cutt/player.py @@ -150,7 +150,7 @@ async def list_players(team_id: int): select(P) .join(PlayerTeamLink) .join(Team) - .where(Team.id == team_id, P.disabled == False) + .where(Team.id == team_id, P.disabled != True) ).all() if players: return [