bugfix
This commit is contained in:
parent
212751bdfb
commit
dec22bbc76
@ -151,9 +151,9 @@ WHERE
|
|||||||
db:
|
db:
|
||||||
"""
|
"""
|
||||||
dbdesc = self.dbdesc
|
dbdesc = self.dbdesc
|
||||||
self.conn = await aiomysql.connect(**desc['kwargs])
|
self.conn = await aiomysql.connect(**dbdesc)
|
||||||
self.cur = await self.cursor()
|
self.cur = await self.cursor()
|
||||||
aelf.dbname = desc['kwargs']['db']
|
aelf.dbname = dbdesc.get('db')
|
||||||
|
|
||||||
async def close():
|
async def close():
|
||||||
await self.cursor.close()
|
await self.cursor.close()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user