поправленна турнирная таблица
This commit is contained in:
@@ -314,8 +314,8 @@ detect_team() {
|
|||||||
["10.10.35.25"]="avtodor"
|
["10.10.35.25"]="avtodor"
|
||||||
["10.10.35.26"]="zenit"
|
["10.10.35.26"]="zenit"
|
||||||
["10.10.35.27"]="samara"
|
["10.10.35.27"]="samara"
|
||||||
["10.10.35.28"]="mba-mai"
|
["10.10.35.28"]="mba"
|
||||||
["10.10.35.29"]="Pari Nizhny Novgorod"
|
["10.10.35.29"]="dynamo"
|
||||||
["10.10.35.30"]="unics"
|
["10.10.35.30"]="unics"
|
||||||
["10.10.35.31"]="enisey"
|
["10.10.35.31"]="enisey"
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -2982,6 +2982,9 @@ async def regular_standings():
|
|||||||
)
|
)
|
||||||
|
|
||||||
df["plus_minus"] = tg_plus - tg_minus
|
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")
|
standings_payload = df.to_dict(orient="records")
|
||||||
return maybe_clear_for_vmix(standings_payload)
|
return maybe_clear_for_vmix(standings_payload)
|
||||||
|
|||||||
Reference in New Issue
Block a user