diff --git a/taptap/taptap_report.py b/taptap/taptap_report.py index aacb4cb..36ea84e 100644 --- a/taptap/taptap_report.py +++ b/taptap/taptap_report.py @@ -29,7 +29,11 @@ class TapTapReport: b_d = self.split_order_data(item) for key in b_d: all.setdefault(key, {}).update(b_d[key]) - print(all) + #print(all) + diff_order = {} + for key in all: + diff_order[key] = all.get(self.day, 0) - all.get(self.bday, 0) + print(diff_order) def split_order_data(self, day):