mirror of
https://github.com/A-Minos/nonebot-plugin-tetris-stats.git
synced 2026-03-05 05:36:54 +08:00
🐛 修复趋势对比错误的数据 (#123)
This commit is contained in:
@@ -76,7 +76,7 @@ class DataBase():
|
|||||||
cursor = db.cursor()
|
cursor = db.cursor()
|
||||||
cursor.execute('''SELECT TRLINE
|
cursor.execute('''SELECT TRLINE
|
||||||
FROM IORANK
|
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()
|
result = cursor.fetchone()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user