From 01b46c2a3f1df1fc298a43c0f2ea320eaa812271 Mon Sep 17 00:00:00 2001 From: pengtao Date: Wed, 4 Sep 2019 17:43:34 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E6=96=B0=E7=94=A8=E6=88=B7?= =?UTF-8?q?=E7=BB=9F=E8=AE=A1=E8=84=9A=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cron/get_newuser_days.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cron/get_newuser_days.py b/cron/get_newuser_days.py index 3e76f99..fcbf879 100644 --- a/cron/get_newuser_days.py +++ b/cron/get_newuser_days.py @@ -33,9 +33,9 @@ def get_data(times, gameid, channelid): try: for line in out: temp = {} + temp['gameid'] = gameid + temp['channelid'] = channelid temp['usernum'], temp['ad_channel'] = line - line['gameid'] = gameid - line['channelid'] = channelid data.append(temp) except Exception: log.error(f"split {line} error!")