forked from Hay1tsme/artemis
is this why you're supposed to quote conditions?
This commit is contained in:
@ -144,7 +144,7 @@ class UserData(BaseData):
|
||||
sql = game_locks.select(
|
||||
(game_locks.c.user == user_id)
|
||||
& (game_locks.c.game == game)
|
||||
& func.timestampdiff(text("SECOND"), func.now(), game_locks.c.expires_at) > 0)
|
||||
& (func.timestampdiff(text("SECOND"), func.now(), game_locks.c.expires_at) > 0))
|
||||
result = await self.execute(sql)
|
||||
|
||||
if result:
|
||||
|
Reference in New Issue
Block a user