From 917a52f940673a94699cb976c4fb6796876daf8c Mon Sep 17 00:00:00 2001 From: yumoqing Date: Sun, 19 Oct 2025 17:08:55 +0800 Subject: [PATCH] bugfix --- sqlor/sor.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sqlor/sor.py b/sqlor/sor.py index 2cec090..6bdad6d 100755 --- a/sqlor/sor.py +++ b/sqlor/sor.py @@ -310,8 +310,8 @@ class SQLor(object): ret = await cur.fetchone() debug(f'coro:sor.fetchone()={ret}, {type(ret)}') return ret - f = awaitify(cur.fetchone) - ret = await f() + # f = awaitify(cur.fetchone) + ret = cur.fetchone() debug(f'func:sor.fetchone()={ret}, {type(ret)}') return ret