From 2f89d1e4b9d05e770cf7f1167e2f89f5d6d1d73a Mon Sep 17 00:00:00 2001 From: yumoqing Date: Fri, 15 May 2020 17:10:38 +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 481278f..f27ce24 100644 --- a/sqlor/dbpools.py +++ b/sqlor/dbpools.py @@ -202,7 +202,7 @@ class DBPools: if sqlor and sqlor.dataChanged: sqlor.rollback() finally: - if sqlor and qlor.dataChanged: + if sqlor and sqlor.dataChanged: sqlor.commit() await self.freeSqlor(sqlor)