Compare commits

..

2 Commits

Author SHA1 Message Date
scdhh
f600060b9e 🔖 0.4.1 2023-05-31 06:23:39 +08:00
渣渣120
a808bfb7f8 🐛 修复趋势对比错误的数据 (#123) 2023-05-31 06:22:42 +08:00
2 changed files with 2 additions and 2 deletions

View File

@@ -76,7 +76,7 @@ class DataBase():
cursor = db.cursor()
cursor.execute('''SELECT TRLINE
FROM IORANK
WHERE RANK = ? AND DATE = ?''', (rank, datetime.date.today()))
WHERE RANK = ? AND DATE = ?''', (rank, datetime.date.today() - datetime.timedelta(days=1)))
result = cursor.fetchone()

View File

@@ -1,6 +1,6 @@
[tool.poetry]
name = "nonebot-plugin-tetris-stats"
version = "0.4.0.post1"
version = "0.4.1"
description = "一个基于nonebot2的用于查询TETRIS相关游戏玩家数据的插件"
authors = ["scdhh <wallfjjd@gmail.com>"]
readme = "README.md"