test6
This commit is contained in:
@@ -1202,7 +1202,7 @@ def Json_Team_Generation(
|
||||
x.get("startRole", 99), 99
|
||||
), # 99 — по умолчанию
|
||||
)
|
||||
out_path = f"{who}.json"
|
||||
out_path = f"{who}"
|
||||
atomic_write_json(sorted_team, out_path)
|
||||
logging.info("Сохранил payload: {out_path}")
|
||||
|
||||
@@ -1222,7 +1222,7 @@ def Json_Team_Generation(
|
||||
item["pts"] = "" if item["num"] == "" else item["pts"]
|
||||
item["foul"] = "" if item["num"] == "" else item["foul"]
|
||||
|
||||
out_path = f"top{who.replace('t','T')}.json"
|
||||
out_path = f"top{who.replace('t','T')}"
|
||||
atomic_write_json(top_sorted_team, out_path)
|
||||
logging.info("Сохранил payload: {out_path}")
|
||||
|
||||
@@ -1235,7 +1235,7 @@ def Json_Team_Generation(
|
||||
reverse=False,
|
||||
)
|
||||
|
||||
out_path = f"started_{who}.json"
|
||||
out_path = f"started_{who}"
|
||||
atomic_write_json(started_team, out_path)
|
||||
logging.info("Сохранил payload: {out_path}")
|
||||
|
||||
@@ -1531,7 +1531,7 @@ def Team_Both_Stat(merged: dict, *, out_dir: str = "static") -> None:
|
||||
}
|
||||
)
|
||||
|
||||
out_path = "team_stats.json"
|
||||
out_path = "team_stats"
|
||||
atomic_write_json(result_json, out_path)
|
||||
logging.info("Сохранил payload: {out_path}")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user