diff --git a/deploy.sh b/deploy.sh index b2d7d14..4fb568a 100755 --- a/deploy.sh +++ b/deploy.sh @@ -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" ) diff --git a/get_data.py b/get_data.py index 3ec1986..91a4326 100644 --- a/get_data.py +++ b/get_data.py @@ -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)