фото путь добавил

This commit is contained in:
2025-11-05 18:22:36 +03:00
parent 47b0b583ce
commit 907ddd494b

View File

@@ -1646,6 +1646,16 @@ async def team(who: str):
) )
+ ".svg" + ".svg"
), ),
"photoGFX": (
os.path.join(
"D:\\Photos",
result["league"]["abcName"],
result[who]["name"],
f"{item.get('displayNumber')}.png",
)
if item.get("startRole") == "Player"
else ""
),
# live-стата # live-стата
"pts": _as_int(stats.get("points")), "pts": _as_int(stats.get("points")),
"pt-2": f"{g2}/{s2}", "pt-2": f"{g2}/{s2}",