[roger]add missing ()
Ten commit jest zawarty w:
rodzic
efd73e04bf
commit
739aaf22c2
1 zmienionych plików z 1 dodań i 1 usunięć
|
|
@ -358,7 +358,7 @@ class Logger:
|
|||
# 3 - 8 (we avoid the last 2 lines but we still return 5 asked)
|
||||
self.cur.execute('''
|
||||
SELECT time, kind, message FROM logs
|
||||
WHERE %s AND kind IN (%d, %d, %d, %d) AND time > %d
|
||||
WHERE (%s) AND kind IN (%d, %d, %d, %d) AND time > %d
|
||||
ORDER BY time DESC LIMIT %d OFFSET %d
|
||||
''' % (where_sql, constants.KIND_SINGLE_MSG_RECV, constants.KIND_CHAT_MSG_RECV,
|
||||
constants.KIND_SINGLE_MSG_SENT, constants.KIND_CHAT_MSG_SENT,
|
||||
|
|
|
|||
Ładowanie…
Dodaj tabelę
Odniesienie w nowym zgłoszeniu