Ongeki: fixed missing await under get_tech_count
This commit is contained in:
1 parent
d5c80cfb0f
commit
4c33dac96a
1 file changed
+1
-1
@@ -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
|
||||||
|
|||||||
Reference in new issue
Block a user