путь к фото поменял
This commit is contained in:
@@ -1851,14 +1851,14 @@ async def team(who: str):
|
|||||||
"photoGFX": (
|
"photoGFX": (
|
||||||
os.path.join(
|
os.path.join(
|
||||||
"D:\\Photos",
|
"D:\\Photos",
|
||||||
result["league"]["abcName"],
|
result["league"]["tag"],
|
||||||
result[who]["name"],
|
result[who]["name"],
|
||||||
f"{item.get('displayNumber')}.png",
|
f"{item.get('displayNumber')}.png",
|
||||||
)
|
)
|
||||||
if item.get("startRole") == "Player"
|
if item.get("startRole") == "Player"
|
||||||
else os.path.join(
|
else os.path.join(
|
||||||
"D:\\Photos",
|
"D:\\Photos",
|
||||||
result["league"]["abcName"],
|
result["league"]["tag"],
|
||||||
result[who]["name"],
|
result[who]["name"],
|
||||||
f'Head Coach_{(item.get("lastName") or "").strip()} {(item.get("firstName") or "").strip()}.png',
|
f'Head Coach_{(item.get("lastName") or "").strip()} {(item.get("firstName") or "").strip()}.png',
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user