Commit 3e0a4ac3 authored by litaolemo's avatar litaolemo

update

parent 6d1caf9f
......@@ -480,8 +480,8 @@ def task_main():
for res_data in scan_from_redis(rules_list):
# 符合规则入库数据
try:
# tractate_id = write_data_into_mysql(res_data)
tractate_id = "test"
tractate_id = write_data_into_mysql(res_data)
# tractate_id = "test"
print("line394",tractate_id,res_data)
if res_data["level"] >= 3 and tractate_id:
content = res_data.get("content") if res_data.get("content") else res_data.get("title")
......
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