Update db.py

This commit is contained in:
Mr Chen 2019-01-04 16:11:33 +08:00
parent bf5ddcab83
commit f92aab9c44
1 changed files with 1 additions and 1 deletions

View File

@ -227,7 +227,7 @@ class Sql():
def execute(self, sql, param):
# 执行SQL语句返回受影响行
self.__GetConn()
print sql, param
# print sql, param
try:
result = self.__DB_CONN.execute(sql, param)
self.__DB_CONN.commit()