From 08c1330d3477c970e40e93055451933ec5f3139c Mon Sep 17 00:00:00 2001 From: pengtao Date: Mon, 16 Sep 2019 15:39:29 +0800 Subject: [PATCH] fix --- ad_tasks.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ad_tasks.py b/ad_tasks.py index dd3c6cb..8dec825 100644 --- a/ad_tasks.py +++ b/ad_tasks.py @@ -98,6 +98,7 @@ def send_cache_data(): 'jump_param'], item['ad_sort'], item['companyid'], item['gameid'], item['channelid'], item[ 'jump_status'], item['locationid'], item['ad_property'],item['createtime'] = line item['createtime'] = datetime.datetime.strftime(item['createtime'], "%Y-%m-%d %H:%M:%S") + pdb.set_trace() if item.get('jump_param', "") and (item['ad_property'].find("jump_param") == -1): try: temp = {} @@ -128,8 +129,6 @@ 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)