From 349b0267a84f74801f30bbd936b215bbf909386b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=AE=D1=80=D0=B8=D0=B9=20=D0=A7=D0=B5=D1=80=D0=BD=D0=B5?= =?UTF-8?q?=D0=BD=D0=BA=D0=BE?= Date: Sat, 1 Nov 2025 13:09:04 +0300 Subject: [PATCH] =?UTF-8?q?=D0=BF=D0=BE=D0=BF=D1=80=D0=B0=D0=B2=D0=BA?= =?UTF-8?q?=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- get_data.py | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/get_data.py b/get_data.py index 9179634..23d9b3c 100644 --- a/get_data.py +++ b/get_data.py @@ -372,11 +372,7 @@ def results_consumer(): game["data"]["result"]["game"]["fullScore"] = payload["result"][ "fullScore" ] - game["data"]["result"]["game"]["score"] = payload["result"][ - "teams" - ][0]["total"]["points"] + ":" + payload["result"][ - "teams" - ][1]["total"]["points"] + game["data"]["result"]["game"]["score"] = f'{payload["result"]["teams"][0]["total"]["points"]}:{payload["result"]["teams"][1]["total"]["points"]}' for team in game["data"]["result"]["teams"]: if team["teamNumber"] != 0: box_team = [ @@ -621,8 +617,8 @@ def build_pretty_status_message(): game_info = result.get("game") or {} - team1_name = game_data["team1"]["name"] - team2_name = game_data["team2"]["name"] + team1_name = result["team1"]["name"] + team2_name = result["team2"]["name"] score_now = game_info.get("score") or "" full_score = game_info.get("fullScore") or ""