From 2d364b5b8fb541eca3df6748085a126908680d32 Mon Sep 17 00:00:00 2001 From: HibiKier <45528451+HibiKier@users.noreply.github.com> Date: Wed, 23 Jun 2021 16:43:38 +0800 Subject: [PATCH] Update statistics_hook.py --- plugins/statistics_hook.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/statistics_hook.py b/plugins/statistics_hook.py index bda696bb..db516dd2 100644 --- a/plugins/statistics_hook.py +++ b/plugins/statistics_hook.py @@ -41,7 +41,7 @@ if not _prefix_count_dict.get('day_index'): 'total': {}, }, 'month_statistics': { 'total': {}, - }, 'start_time': str(datetime.now().date()), 'day_index': 0} + }, 'start_time': tmp['start_time'], 'day_index': 0} # 添加命令次数