From 7ade7a6fab74a14b75c63d0c2818255fdc8b0222 Mon Sep 17 00:00:00 2001 From: pengtao Date: Wed, 16 Oct 2019 14:22:20 +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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/taptap/taptap_report.py b/taptap/taptap_report.py index 2085827..b7b5b96 100644 --- a/taptap/taptap_report.py +++ b/taptap/taptap_report.py @@ -33,7 +33,7 @@ class TapTapReport: diff_order = {} for key in all: pdb.set_trace() - diff_order[key] = all.get(self.day, 0) - all.get(self.bday, 0) + diff_order[key] = all[key].get(self.day, 0) - all[key].get(self.bday, 0) print(diff_order)