From 314bf4c2f012c5628232c38661b906eeedd99678 Mon Sep 17 00:00:00 2001 From: shoucandanghehe Date: Wed, 15 May 2024 09:12:24 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=87=20=E5=BF=98=E8=AE=B0=E5=88=A0=20de?= =?UTF-8?q?bug=20=E6=97=A5=E5=BF=97=E4=BA=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../game_data_processor/io_data_processor/query.py | 1 - 1 file changed, 1 deletion(-) diff --git a/nonebot_plugin_tetris_stats/game_data_processor/io_data_processor/query.py b/nonebot_plugin_tetris_stats/game_data_processor/io_data_processor/query.py index 5d21e01..b573e84 100644 --- a/nonebot_plugin_tetris_stats/game_data_processor/io_data_processor/query.py +++ b/nonebot_plugin_tetris_stats/game_data_processor/io_data_processor/query.py @@ -172,7 +172,6 @@ async def query_historical_data(user: User, user_info: UserInfoSuccess) -> list[ # 按照时间排序 histories = sorted(histories, key=lambda x: x.record_at) - print(histories) for index, value in enumerate(histories): # 在历史记录里找有没有今天0点后的数据, 并且至少要有两个数据点 if value.record_at > today and len(histories) >= 2: # noqa: PLR2004