mirror of
https://github.com/PaiGramTeam/PamGram.git
synced 2024-11-16 12:02:16 +00:00
🐛 fix enka assets
This commit is contained in:
parent
1003cf4fc5
commit
d71958a9be
@ -469,7 +469,7 @@ class _NamecardAssets(_AssetsService):
|
||||
|
||||
async def _get_from_enka(self, item: str) -> AsyncIterator[str | None]:
|
||||
if (url := getattr(self.enka, {"profile": "banner"}.get(item, item), None)) is not None:
|
||||
yield str(url)
|
||||
yield url.url
|
||||
|
||||
@cached_property
|
||||
def game_name_map(self) -> dict[str, str]:
|
||||
|
Loading…
Reference in New Issue
Block a user