From e956dc460dfd9da887e6bce5a8a27a8078f71887 Mon Sep 17 00:00:00 2001 From: Alek Ratzloff Date: Sat, 29 Jul 2023 20:35:18 -0700 Subject: [PATCH] Update SQL style in pull.py SQL keywords are now lowercase, matching the rest of the program. Previously: INSERT INTO ... Now: insert into ... Signed-off-by: Alek Ratzloff --- chanbans/pull.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/chanbans/pull.py b/chanbans/pull.py index ac812f4..7686895 100644 --- a/chanbans/pull.py +++ b/chanbans/pull.py @@ -134,8 +134,8 @@ async def pull(): db.execute( """ - INSERT INTO bans (action, board, length, now, name, trip, com, time, sub, nsfw, thumb, ext, w, h, tn_w, tn_h, md5, fsize, filename, tim, thumb_path, reason) - VALUES ( + insert into bans (action, board, length, now, name, trip, com, time, sub, nsfw, thumb, ext, w, h, tn_w, tn_h, md5, fsize, filename, tim, thumb_path, reason) + values ( :action, :board, :length,