Commit fea8a745 authored by litaolemo's avatar litaolemo

update

parent 3d98f34c
...@@ -326,6 +326,7 @@ def write_data_into_mysql(res_data): ...@@ -326,6 +326,7 @@ def write_data_into_mysql(res_data):
conn.commit() conn.commit()
except Exception as e: except Exception as e:
print("commit error %s" % e) print("commit error %s" % e)
print(data)
conn.rollback() conn.rollback()
if data.get("qiniu_img_list"): if data.get("qiniu_img_list"):
for img_info in data.get("qiniu_img_list"): for img_info in data.get("qiniu_img_list"):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment