From 935021b1367a3f969021aa6c0342307c4605944b Mon Sep 17 00:00:00 2001 From: Jean-Paul Calderone <exarkun@twistedmatrix.com> Date: Fri, 22 May 2020 13:09:24 -0400 Subject: [PATCH] Avoid these tricky parens around the column list Parens can create a tuple or something and we don't want that. --- src/_zkapauthorizer/model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/_zkapauthorizer/model.py b/src/_zkapauthorizer/model.py index b7d590b..8b4a708 100644 --- a/src/_zkapauthorizer/model.py +++ b/src/_zkapauthorizer/model.py @@ -263,7 +263,7 @@ class VoucherStore(object): cursor.execute("BEGIN IMMEDIATE TRANSACTION") cursor.execute( """ - SELECT ([text]) + SELECT [text] FROM [tokens] WHERE [voucher] = ? AND [counter] = ? """, -- GitLab