bugfix
This commit is contained in:
parent
5ea4bdf171
commit
99ef9b20b2
@ -153,7 +153,7 @@ WHERE
|
|||||||
dbdesc = self.dbdesc
|
dbdesc = self.dbdesc
|
||||||
self.conn = await aiomysql.connect(**dbdesc)
|
self.conn = await aiomysql.connect(**dbdesc)
|
||||||
self.cur = await self.conn.cursor()
|
self.cur = await self.conn.cursor()
|
||||||
aelf.dbname = dbdesc.get('db')
|
self.dbname = dbdesc.get('db')
|
||||||
|
|
||||||
async def close(self):
|
async def close(self):
|
||||||
await self.cursor.close()
|
await self.cursor.close()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user