mirror of
https://github.com/Lost-MSth/Arcaea-server.git
synced 2026-02-11 18:47:26 +08:00
[fix] fix sql syntax
This commit is contained in:
@@ -485,7 +485,7 @@ class UserStamina(Stamina):
|
|||||||
|
|
||||||
def select(self):
|
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})
|
{'a': self.user.user_id})
|
||||||
x = self.c.fetchone()
|
x = self.c.fetchone()
|
||||||
if not x:
|
if not x:
|
||||||
|
|||||||
Reference in New Issue
Block a user