zz 4 năm trước cách đây
mục cha
commit
32f3731ee4
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      ydyspider/mysql.py

+ 1 - 1
ydyspider/mysql.py

@@ -68,5 +68,5 @@ class msyqlHelper(object):
 		with self.conn.cursor() as cursor:
 			cursor.execute(sql, (bid, ))
 			result = cursor.fetchone()
-		self.__conn.commit()
+		self.conn.commit()
 		return result