From 19ae4a18ca5601e2c5f884636c10ff0c6118342c Mon Sep 17 00:00:00 2001 From: julius Date: Mon, 24 Mar 2025 22:37:59 +0100 Subject: [PATCH] fix: show players if they're not disabled --- cutt/player.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 [