From 8fa3acf3f2c971d2176f7cd22beb1786d6ba3e00 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: Mon, 27 Oct 2025 17:49:58 +0300 Subject: [PATCH] test4 --- get_data_new.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/get_data_new.py b/get_data_new.py index 88a5213..0649478 100644 --- a/get_data_new.py +++ b/get_data_new.py @@ -1204,7 +1204,7 @@ def Json_Team_Generation( ), # 99 — по умолчанию ) out_path = Path(out_dir) / f"{who}.json" - atomic_write_json(out_path, sorted_team) + atomic_write_json(sorted_team, out_path) logging.info("Сохранил payload: {out_path}") top_sorted_team = sorted( @@ -1224,7 +1224,7 @@ def Json_Team_Generation( item["foul"] = "" if item["num"] == "" else item["foul"] out_path = Path(out_dir) / f"top{who.replace('t','T')}.json" - atomic_write_json(out_path, top_sorted_team) + atomic_write_json(top_sorted_team, out_path) logging.info("Сохранил payload: {out_path}") started_team = sorted( @@ -1237,7 +1237,7 @@ def Json_Team_Generation( ) out_path = Path(out_dir) / f"started_{who}.json" - atomic_write_json(out_path, started_team) + atomic_write_json(started_team, out_path) logging.info("Сохранил payload: {out_path}") @@ -1533,7 +1533,7 @@ def Team_Both_Stat(merged: dict, *, out_dir: str = "static") -> None: ) out_path = Path(out_dir) / "team_stats.json" - atomic_write_json(out_path, result_json) + atomic_write_json(result_json, out_path) logging.info("Сохранил payload: {out_path}") logger.debug("Успешно записаны данные в team_stats.json")