Commit 886736ef authored by lixiaofang's avatar lixiaofang

删掉下线的

parent e60c514f
......@@ -43,8 +43,11 @@ class WordResemble(object):
try:
try:
ret_list = list()
item_dict = dict()
keyword = instance.keyword
cut_word = ["下线", "停用", "已经下线", "账号停用"]
for i in cut_word:
if keyword.find(i) < 0:
item_dict["id"] = getMd5Digest(str(instance.keyword))
item_dict["ori_name"] = instance.keyword
item_dict["is_online"] = True
......
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