From 5396a844ff705f3263f860ebdc278ae94be62359 Mon Sep 17 00:00:00 2001 From: pengtao Date: Wed, 23 Oct 2019 11:00:32 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=AF=BC=E5=87=BA=E7=8E=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- daily_report/dreport.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/daily_report/dreport.py b/daily_report/dreport.py index 7091062..6eb4702 100644 --- a/daily_report/dreport.py +++ b/daily_report/dreport.py @@ -183,7 +183,7 @@ class Report: activa = args['tga'].get_data(activa_sql)[0][0] new = args['tga'].get_data(new_sql)[0][0] share = args['tga'].get_data(share_sql)[0][0] - timeonlie = args['tga'].get_data(timeonlie_sql)[0][0] + timeonlie = args['tga'].get_data(timeonlie_sql)[0][0] or 0 ad_101 = args['tga'].get_data(ad_101_sql)[0][0] ad_1 = args['tga'].get_data(ad_1_sql)[0][0] ad_201 = args['tga'].get_data(ad_201_sql)[0][0] @@ -279,7 +279,7 @@ class Report: def run(self): if self.project == 'mini_games': - parms = [(1004, 6001), (2001, 6001), (1001, 6001)] + parms = [(1004, 6001), (1011, 6001), (1001, 6001)] else: parms = [(2001, 6001), (2002, 6001)]