Commit 1aef120e authored by litaolemo's avatar litaolemo

update

parent fd388d44
...@@ -117,6 +117,7 @@ def write_to_es(file, push_to_redis=True, update=True, key_releaser=False, updat ...@@ -117,6 +117,7 @@ def write_to_es(file, push_to_redis=True, update=True, key_releaser=False, updat
if extra_dic: if extra_dic:
line_dict.update(extra_dic) line_dict.update(extra_dic)
line_dict["releaser_id"] = get_releaser_id(platform=platform, releaserUrl=releaserUrl) line_dict["releaser_id"] = get_releaser_id(platform=platform, releaserUrl=releaserUrl)
print(line_dict["releaser_id"])
if line_dict["releaser_id"]: if line_dict["releaser_id"]:
doc_id = platform + '_' + line_dict['releaser_id'] doc_id = platform + '_' + line_dict['releaser_id']
else: else:
......
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