From d05618049c6abd600fcb2c05dd0d33a948fb5723 Mon Sep 17 00:00:00 2001 From: YinMo19 Date: Thu, 21 Aug 2025 13:48:10 +0800 Subject: [PATCH] [fix] fix sql syntax --- latest version/core/world.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/latest version/core/world.py b/latest version/core/world.py index 569a322..4b0fef6 100644 --- a/latest version/core/world.py +++ b/latest version/core/world.py @@ -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: