From f834cf8aa1edb884aaa905f153d70cb6ccbcfdc7 Mon Sep 17 00:00:00 2001 From: pengtao Date: Wed, 20 Nov 2019 16:09:49 +0800 Subject: [PATCH] fix data --- taptap/tap_weekly_mail.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/taptap/tap_weekly_mail.py b/taptap/tap_weekly_mail.py index d09880e..8c5af73 100644 --- a/taptap/tap_weekly_mail.py +++ b/taptap/tap_weekly_mail.py @@ -30,7 +30,7 @@ class TapWeeklyReport: weekly_day = json.dumps(self.get_weekly_days()).strip('[]') tap_types = ("new", "download", "reserve", "sell", "played") - all_data = defaultdict(list) + all_data = dict() for tap_type in tap_types: sql = f"""select gameid,