From be1b3b17e8ea172b549163bb7bea1cbb81cc8121 Mon Sep 17 00:00:00 2001 From: pengtao Date: Tue, 13 Aug 2019 14:44:19 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=A9=BA=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E7=94=9F=E6=88=90=E7=9A=84BUG?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/config.py | 6 +----- mytask/tasks_1016.py | 2 ++ 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/config/config.py b/config/config.py index ffbff40..2fe7203 100644 --- a/config/config.py +++ b/config/config.py @@ -9,11 +9,7 @@ ad_type = {'1': '视屏启动', '2': '视频错误回调', '101': 'banner显示' if not is_debug: event_list = ( - (1004, 6001, 'tap_1004'), (1004, 6001, 'tap_new_1004'), (1004, 6001, 'share'), (1004, 6001, 'share_new'), - (1004, 6001, 'stage'), (1004, 6001, 'stage_new'), (1004, 6001, 'ad_video'), (1004, 6001, 'ad_video_new'), - (1016, 6001, 'shop_1016'), (1016, 6001, 'shop_new_1016'), (1016, 6001, 'tap_1016'), - (1016, 6001, 'tap_new_1016'), (2001, 6001, 'tap_2001'), (2001, 6001, 'tap_new_2001'), - (1004, 6001, 'items_produce'), (1004, 6001, 'items_consum'), (1004, 6001, 'share_map')) + (1016, 6001, 'shop_1016'), (1016, 6001, 'shop_new_1016')) else: event_list = ( (1004, 6001, 'tap_1004'), (1004, 6001, 'tap_new_1004'), (1004, 6001, 'share'), (1004, 6001, 'share_new'), diff --git a/mytask/tasks_1016.py b/mytask/tasks_1016.py index d3441d3..aabb653 100644 --- a/mytask/tasks_1016.py +++ b/mytask/tasks_1016.py @@ -37,6 +37,7 @@ class TGA_event(GetFromTga): try: temp['id'], temp['num'] = line if temp: + log.info(f"will write {temp} 2 tga!") self.write_tga_files(temp) except Exception: log.error(f"write {line} 2 tga failed!", exc_info=True) @@ -66,6 +67,7 @@ class TGA_event(GetFromTga): try: temp['id'], temp['num'] = line if temp: + log.info(f"will write {temp} 2 tga!") self.write_tga_files(temp) except Exception: log.error(f"write {line} 2 tga failed!", exc_info=True)