This commit is contained in:
yumoqing 2019-10-22 15:26:58 +08:00
parent a31d51ae2d
commit 05bac1b046

View File

@ -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: