Ongeki: fixed missing await under get_tech_count
This commit is contained in:
parent
d5c80cfb0f
commit
4c33dac96a
@ -131,7 +131,7 @@ class OngekiScoreData(BaseData):
|
|||||||
async def get_tech_count(self, aime_id: int) -> Optional[List[Dict]]:
|
async def get_tech_count(self, aime_id: int) -> Optional[List[Dict]]:
|
||||||
sql = select(tech_count).where(tech_count.c.user == aime_id)
|
sql = select(tech_count).where(tech_count.c.user == aime_id)
|
||||||
|
|
||||||
result = self.execute(sql)
|
result = await self.execute(sql)
|
||||||
|
|
||||||
if result is None:
|
if result is None:
|
||||||
return None
|
return None
|
||||||
|
Loading…
Reference in New Issue
Block a user