This commit is contained in:
yumoqing 2025-10-19 17:08:55 +08:00
parent 89a9756b00
commit 917a52f940

View File

@ -310,8 +310,8 @@ class SQLor(object):
ret = await cur.fetchone() ret = await cur.fetchone()
debug(f'coro:sor.fetchone()={ret}, {type(ret)}') debug(f'coro:sor.fetchone()={ret}, {type(ret)}')
return ret return ret
f = awaitify(cur.fetchone) # f = awaitify(cur.fetchone)
ret = await f() ret = cur.fetchone()
debug(f'func:sor.fetchone()={ret}, {type(ret)}') debug(f'func:sor.fetchone()={ret}, {type(ret)}')
return ret return ret