Commit f4585e73 authored by litaolemo's avatar litaolemo

update

parent d007eae9
......@@ -312,7 +312,9 @@ def write_data_into_mysql(res_data):
now_str = datetime.datetime.now().strftime("%Y-%m-%d %H:%M:%S")
# 清洗数据为可以入库的格式
data = push_data_to_user(res_data)
if not data["content"]:
if not data.get("content"):
return None
if not data.get("qiniu_img_list"):
return None
tractate_id = 0
try:
......
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