From de34d8afec9380daa8549b4cb7544e6cc2d76246 Mon Sep 17 00:00:00 2001 From: augustin64 Date: Wed, 17 Aug 2022 14:18:53 +0200 Subject: [PATCH] Fix search.py --- partitioncloud/search.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/partitioncloud/search.py b/partitioncloud/search.py index ea2be5c..f472a7a 100644 --- a/partitioncloud/search.py +++ b/partitioncloud/search.py @@ -87,8 +87,8 @@ def online_search(query): print(e) db.execute( """ - DELETE FROM search_results (uuid) - VALUES (?) + DELETE FROM search_results + WHERE uuid = ? """, (uuid,) )