From 28e02136ddbd38ed80f21c68555f74e1bdc886b9 Mon Sep 17 00:00:00 2001 From: Cal Corum Date: Wed, 10 May 2023 13:26:16 -0500 Subject: [PATCH] Update main.py Bug fix: patching player to 0 wara --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index b8f13d4..24dd95c 100644 --- a/main.py +++ b/main.py @@ -1539,7 +1539,7 @@ async def v1_players_patch( raise HTTPException(status_code=404, detail=f'Team id {team_id} not found') if name: this_player.name = name - if wara: + if wara is not None: this_player.wara = wara if image: this_player.image = image