This commit is contained in:
yumoqing 2025-10-19 12:03:03 +08:00
parent f1de7bd13e
commit 5ea4bdf171

View File

@ -152,7 +152,7 @@ WHERE
""" """
dbdesc = self.dbdesc dbdesc = self.dbdesc
self.conn = await aiomysql.connect(**dbdesc) self.conn = await aiomysql.connect(**dbdesc)
self.cur = await self.cursor() self.cur = await self.conn.cursor()
aelf.dbname = dbdesc.get('db') aelf.dbname = dbdesc.get('db')
async def close(self): async def close(self):