From f544beab4c305e774f03fd3b09b1ea48f23f0a57 Mon Sep 17 00:00:00 2001 From: Thomas Helmrich Date: Thu, 17 Mar 2022 15:37:20 +0100 Subject: [PATCH] fix whitespace issue on pilerpurge fixes #1226 --- util/pilerpurge.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/pilerpurge.py b/util/pilerpurge.py index 6e4e0fa4..e2e2d61f 100755 --- a/util/pilerpurge.py +++ b/util/pilerpurge.py @@ -69,7 +69,7 @@ def purge_m_files(ids=[], opts={}): "WHERE piler_id IN (%s))" % (format), ids) cursor.execute("DELETE FROM tag WHERE id IN (SELECT id FROM metadata " + "WHERE piler_id IN (%s))" % (format), ids) - cursor.execute("DELETE FROM private WHERE id IN (SELECT id FROM metadata" + + cursor.execute("DELETE FROM private WHERE id IN (SELECT id FROM metadata " + "WHERE piler_id IN (%s))" % (format), ids) cursor.execute("DELETE FROM folder_message WHERE id IN (SELECT id FROM " + "metadata WHERE piler_id IN (%s))" % (format), ids)