This commit is contained in:
2025-10-22 12:47:16 +00:00
parent a1b1466f4b
commit b0f59e5bf3

View File

@@ -71,7 +71,7 @@ LOG_CONFIG = {
},
"console": {
"class": "logging.StreamHandler",
"level": "DEBUG",
"level": "INFO",
"formatter": "simple",
"stream": "ext://sys.stdout",
},
@@ -1637,8 +1637,8 @@ def Json_Team_Generation(who, data, stop_event):
x.get("startRole", 99), 99
), # 99 — по умолчанию
)
rewrite_file(who, sorted_team)
rewrite_file(f"{who}_copy", sorted_team)
rewrite_file(who, sorted_team) # type: ignore
rewrite_file(f"{who}_copy", sorted_team) # type: ignore
# print(sorted_team)
top_sorted_team = sorted(
filter(lambda x: x["startRole"] in ["Player", ""], sorted_team),