summaryrefslogtreecommitdiffstats
path: root/module/database
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-10-27 17:32:58 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-10-27 17:32:58 +0200
commite03e4b63cbcf37407c23d144e6d4c247be1f06b8 (patch)
tree6e6a20aad8f8ea3f4dc27189eaf7e96330d89e03 /module/database
parentsharerapid.com fix server response 401 (diff)
downloadpyload-e03e4b63cbcf37407c23d144e6d4c247be1f06b8.tar.xz
closed #411
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)")