Skip to content

Commit

Permalink
Update client.py
Browse files Browse the repository at this point in the history
Signed-off-by: Deviant <112615715+DEViantUA@users.noreply.github.com>
  • Loading branch information
DEViantUA authored Mar 20, 2024
1 parent 80a4862 commit 8c925b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions starrailcard/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def __init__(self, lang = "en", character_art = None, character_id = None, seele

async def __aenter__(self):
cashe.Cache.get_cache(maxsize = self.cashe.get("maxsize", 150), ttl = self.cashe.get("ttl", 300))
self.session = await http.AioSession.get_session()
self.session = await http.AioSession.creat_session()

await git.ImageCache.set_assets_dowload(self.asset_save)

Expand Down Expand Up @@ -219,4 +219,4 @@ async def creat(self, uid, style = 1, hide_uid = False, force_update = False, st

await asyncio.gather(*task_save)

return StarRailCard.StarRail(**response)
return StarRailCard.StarRail(**response)

0 comments on commit 8c925b2

Please sign in to comment.