Преглед изворни кода

[boardgames] Fix small bug in black username

Colin Powell пре 5 месеци
родитељ
комит
855f59b83f
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      vrobbler/apps/boardgames/sources/lichess.py

+ 1 - 1
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"