путь к фото поменял

This commit is contained in:
2026-10-11 15:32:14 +03:00
parent ba0bb5312b
commit 6f6c86c358

View File

@@ -1851,14 +1851,14 @@ async def team(who: str):
"photoGFX": (
os.path.join(
"D:\\Photos",
result["league"]["abcName"],
result["league"]["tag"],
result[who]["name"],
f"{item.get('displayNumber')}.png",
)
if item.get("startRole") == "Player"
else os.path.join(
"D:\\Photos",
result["league"]["abcName"],
result["league"]["tag"],
result[who]["name"],
f'Head Coach_{(item.get("lastName") or "").strip()} {(item.get("firstName") or "").strip()}.png',
)