bugfix
This commit is contained in:
parent
49f866a1aa
commit
f1de7bd13e
@ -141,7 +141,7 @@ WHERE
|
|||||||
sqlcmd = sqlcmd + """ AND table_name = '%s'""" % tablename.lower()
|
sqlcmd = sqlcmd + """ AND table_name = '%s'""" % tablename.lower()
|
||||||
return sqlcmd
|
return sqlcmd
|
||||||
|
|
||||||
async def connect():
|
async def connect(self):
|
||||||
"""
|
"""
|
||||||
kwargs:
|
kwargs:
|
||||||
host:
|
host:
|
||||||
@ -155,7 +155,7 @@ WHERE
|
|||||||
self.cur = await self.cursor()
|
self.cur = await self.cursor()
|
||||||
aelf.dbname = dbdesc.get('db')
|
aelf.dbname = dbdesc.get('db')
|
||||||
|
|
||||||
async def close():
|
async def close(self):
|
||||||
await self.cursor.close()
|
await self.cursor.close()
|
||||||
await self.conn.close()
|
await self.conn.close()
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user