175 build - идентификатор для кнопки

This commit is contained in:
2026-09-29 17:14:51 +03:00
parent f200066f7b
commit ec4e22a1a7
6 changed files with 190 additions and 21 deletions

3
app.py
View File

@@ -35,7 +35,7 @@ from khl_site.khl_data_center import APP as khl_site_app, configure_storage, syn
from hockey_data.khl_career import KhlCareerService
BASE_DIR = Path(__file__).resolve().parent
BUILD_VERSION = "2026.09.29.10"
BUILD_VERSION = "2026.09.29.12"
# compatibility: BUILD_VERSION = "2026.09.24.2"
# compatibility: BUILD_VERSION = "2026.09.23.8"
# compatibility: BUILD_VERSION = "2026.09.23.7"
@@ -133,6 +133,7 @@ def _normalise_player_panel_title_buttons(payload: Any) -> dict[str, Any]:
"id": button_id,
"panel_id": panel_id,
"label": label,
"title_text": str(raw.get("title_text") or "").strip()[:512],
"description": str(raw.get("description") or "").strip()[:300],
"icon": str(raw.get("icon") or "▶").strip()[:32] or "▶",
"icon_only": raw.get("icon_only") is True,