🔇 忘记删 debug 日志了

This commit is contained in:
2024-05-15 09:12:24 +08:00
parent c9f6817c6a
commit 314bf4c2f0

View File

@@ -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