From 60c9e3949f0c012da647e34a15a39e9c92c3ea19 Mon Sep 17 00:00:00 2001 From: pengtao Date: Mon, 16 Sep 2019 15:35:34 +0800 Subject: [PATCH] fix --- ad_tasks.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ad_tasks.py b/ad_tasks.py index 329a7b3..dd3c6cb 100644 --- a/ad_tasks.py +++ b/ad_tasks.py @@ -128,6 +128,8 @@ def send_cache_data(): area = get_area_by_locationid(item) for area_temp in area: for one in area_temp.split(","): + if line['id'] == 1002: + pdb.set_trace() key = f"ad::{line.get('gameid', 0)}::{line.get('channelid', 0)}::{one}::{item}" if int(line['ad_num']) == 0: sadd_adkey(key, line, item)