test3
This commit is contained in:
@@ -594,9 +594,10 @@ def build_render_state() -> dict:
|
|||||||
live_status_data = read_local_json("api_live-status")
|
live_status_data = read_local_json("api_live-status")
|
||||||
box_score_data = read_local_json("api_box-score")
|
box_score_data = read_local_json("api_box-score")
|
||||||
play_by_play_data = read_local_json("api_play-by-play")
|
play_by_play_data = read_local_json("api_play-by-play")
|
||||||
|
game_data = game_data["result"]
|
||||||
|
|
||||||
# базовый безопасный каркас
|
# базовый безопасный каркас
|
||||||
for index_team, team in enumerate(game_data["result"]["teams"][1:]):
|
for index_team, team in enumerate(game_data["teams"][1:]):
|
||||||
box_team = box_score_data["result"]["teams"][index_team]
|
box_team = box_score_data["result"]["teams"][index_team]
|
||||||
for player in team.get("starts", []):
|
for player in team.get("starts", []):
|
||||||
stat = next(
|
stat = next(
|
||||||
|
|||||||
Reference in New Issue
Block a user