поправленна турнирная таблица

This commit is contained in:
2026-10-04 15:08:31 +03:00
parent 7cd455f732
commit 5d5d71af79
2 changed files with 5 additions and 2 deletions

View File

@@ -314,8 +314,8 @@ detect_team() {
["10.10.35.25"]="avtodor"
["10.10.35.26"]="zenit"
["10.10.35.27"]="samara"
["10.10.35.28"]="mba-mai"
["10.10.35.29"]="Pari Nizhny Novgorod"
["10.10.35.28"]="mba"
["10.10.35.29"]="dynamo"
["10.10.35.30"]="unics"
["10.10.35.31"]="enisey"
)

View File

@@ -2982,6 +2982,9 @@ async def regular_standings():
)
df["plus_minus"] = tg_plus - tg_minus
# Превращаем NaN в None, который корректно отдаётся как JSON null.
df = df.astype(object).where(pd.notna(df), None)
standings_payload = df.to_dict(orient="records")
return maybe_clear_for_vmix(standings_payload)