Merge pull request #220 from YinMo19/dev

[fix] fix sql syntax
This commit is contained in:
Lost-MSth
2025-08-21 16:10:28 +08:00
committed by GitHub

View File

@@ -485,7 +485,7 @@ class UserStamina(Stamina):
def select(self):
'''获取用户体力信息'''
self.c.execute('''select max_stamina_ts, staminafrom user where user_id = :a''',
self.c.execute('''select max_stamina_ts, stamina from user where user_id = :a''',
{'a': self.user.user_id})
x = self.c.fetchone()
if not x: