From 5ea4bdf171954784f12de86198e90b81fa6e13a2 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Sun, 19 Oct 2025 12:03:03 +0800 Subject: [PATCH] bugfix --- sqlor/mysqlor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sqlor/mysqlor.py b/sqlor/mysqlor.py index 329548d..b1e6091 100755 --- a/sqlor/mysqlor.py +++ b/sqlor/mysqlor.py @@ -152,7 +152,7 @@ WHERE """ dbdesc = self.dbdesc self.conn = await aiomysql.connect(**dbdesc) - self.cur = await self.cursor() + self.cur = await self.conn.cursor() aelf.dbname = dbdesc.get('db') async def close(self):