Commit da2aaac4 authored by litaolemo's avatar litaolemo

update

parent b82da1e2
......@@ -839,7 +839,8 @@ for t in range(1, 2):
click_ctr = res.click_ctr
pid = hashlib.md5((day_id + device_os_type + active_type + card_content_type + recommend_type).encode("utf8")).hexdigest()
try:
card_click_diff = card_click - data_dict.get(pid)
card_click_diff = data_dict.get(pid) - card_click
print(card_click_diff)
card_click += card_click_diff
card_exposure += card_exposure
except:
......
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