From 1bc8fda6b1fb1accde2debcd4fb5625baa85a2c5 Mon Sep 17 00:00:00 2001 From: pengtao Date: Wed, 16 Oct 2019 17:05:15 +0800 Subject: [PATCH] =?UTF-8?q?tap=20order=20=20=E6=95=B0=E6=8D=AE=E5=86=99?= =?UTF-8?q?=E5=85=A5mysql?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- taptap/taptap_report.py | 1 + 1 file changed, 1 insertion(+) diff --git a/taptap/taptap_report.py b/taptap/taptap_report.py index 673cb91..541c2b0 100644 --- a/taptap/taptap_report.py +++ b/taptap/taptap_report.py @@ -37,6 +37,7 @@ class TapTapReport: for key in gameid_order.keys(): all.setdefault(key, {})['gameid'] = key.split("#")[0] all[key]['catename'] = key.split('#')[1] + all[key]['date'] = self.day all[key]['diff_order'] = gameid_order[key].get(self.day, 301) - gameid_order[key].get( self.bday, 301) all.setdefault(key, {})['current_order'] = gameid_order[key].get(self.day, 301)