From 855f59b83fc349e9db3d2f3400f1303bc8561c65 Mon Sep 17 00:00:00 2001 From: Colin Powell Date: Wed, 29 Jan 2025 00:08:55 -0500 Subject: [PATCH] [boardgames] Fix small bug in black username --- vrobbler/apps/boardgames/sources/lichess.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vrobbler/apps/boardgames/sources/lichess.py b/vrobbler/apps/boardgames/sources/lichess.py index 35b65f9..11ebe44 100644 --- a/vrobbler/apps/boardgames/sources/lichess.py +++ b/vrobbler/apps/boardgames/sources/lichess.py @@ -83,7 +83,7 @@ def import_chess_games_for_all_users(): black_player.get("aiLevel", "") ) else: - other_player["name_str"] = white_player.get( + other_player["name_str"] = black_player.get( "user", {} ).get("name", "") other_player["color"] = "black"