From 05bac1b046764cad4d273bd9f9206ebdc93164a1 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Tue, 22 Oct 2019 15:26:58 +0800 Subject: [PATCH] bugfix --- sqlor/dbpools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sqlor/dbpools.py b/sqlor/dbpools.py index 8a617d1..aa02969 100644 --- a/sqlor/dbpools.py +++ b/sqlor/dbpools.py @@ -258,7 +258,7 @@ class DBPools: desc = await func(dbname,NS,*args,**kw) callback = kw.get('callback',None) kw1 = {} - [ kw1.update({k:v}) for k,v in kw.items if k!='callback' ] + [ kw1.update({k:v}) for k,v in kw.items() if k!='callback' ] ret = await sor.runSQL(desc,NS,callback,**kw1) if commit: try: