From f1de7bd13e9582004db5c389e978c30b202d49f3 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Sun, 19 Oct 2025 12:01:06 +0800 Subject: [PATCH] bugfix --- sqlor/mysqlor.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sqlor/mysqlor.py b/sqlor/mysqlor.py index 4598eec..329548d 100755 --- a/sqlor/mysqlor.py +++ b/sqlor/mysqlor.py @@ -141,7 +141,7 @@ WHERE sqlcmd = sqlcmd + """ AND table_name = '%s'""" % tablename.lower() return sqlcmd - async def connect(): + async def connect(self): """ kwargs: host: @@ -155,7 +155,7 @@ WHERE self.cur = await self.cursor() aelf.dbname = dbdesc.get('db') - async def close(): + async def close(self): await self.cursor.close() await self.conn.close()