summaryrefslogtreecommitdiffstats
path: root/module/database
diff options
context:
space:
mode:
Diffstat (limited to 'module/database')
-rw-r--r--module/database/FileDatabase.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/database/FileDatabase.py b/module/database/FileDatabase.py
index 91213d8a6..1df8998b0 100644
--- a/module/database/FileDatabase.py
+++ b/module/database/FileDatabase.py
@@ -848,7 +848,7 @@ class FileMethods():
@style.queue
def deleteFinished(self):
- self.c.execute("DELETE FROM links WHERE status=0")
+ self.c.execute("DELETE FROM links WHERE status IN (0,4)")
self.c.execute("DELETE FROM packages WHERE NOT EXISTS(SELECT 1 FROM links WHERE packages.id=links.package)")