mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-10 03:09:26 +08:00
Update db.py
This commit is contained in:
+1
-1
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user