summaryrefslogtreecommitdiff
path: root/paste
diff options
context:
space:
mode:
authorJohn Turner <jturner.usa@gmail.com>2025-09-05 18:23:01 -0400
committerJohn Turner <jturner.usa@gmail.com>2025-09-05 18:23:01 -0400
commit829f98339fdb5acabc2c51c0cbf1a611be84162a (patch)
tree8e80e7897c61f9551726fc83da45944e14c9830e /paste
parentb2fa769e09346cae541a9bb4cf2fafd2c20af6e8 (diff)
downloadpypaste-829f98339fdb5acabc2c51c0cbf1a611be84162a.tar.gz
fixup sql syntax error
Diffstat (limited to 'paste')
-rw-r--r--paste/__main__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/paste/__main__.py b/paste/__main__.py
index 5ff869a..b88e7b2 100644
--- a/paste/__main__.py
+++ b/paste/__main__.py
@@ -93,7 +93,7 @@ class Database:
async def delete(self, key: str):
async with aiosqlite.connect(self.path) as db:
- await db.execute("delete pastes where key=?", (key,))
+ await db.execute("delete from pastes where key=?", (key,))
await db.commit()