Commit 3c8722b8 authored by litaolemo's avatar litaolemo

update

parent 0e5eca37
...@@ -113,8 +113,9 @@ def write_to_es(file, push_to_redis=True, update=True, key_releaser=False, updat ...@@ -113,8 +113,9 @@ 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)
print(get_releaser_id(platform=platform, releaserUrl=releaserUrl))
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