summaryrefslogtreecommitdiffstats
path: root/pyload/plugin/addon/DeleteFinished.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/plugin/addon/DeleteFinished.py')
-rw-r--r--pyload/plugin/addon/DeleteFinished.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyload/plugin/addon/DeleteFinished.py b/pyload/plugin/addon/DeleteFinished.py
index c0a2e8752..b9368a642 100644
--- a/pyload/plugin/addon/DeleteFinished.py
+++ b/pyload/plugin/addon/DeleteFinished.py
@@ -60,9 +60,9 @@ class DeleteFinished(Addon):
## own methods ##
- @style.queue
+ @style.queue
def deleteFinished(self, mode):
self.c.execute('DELETE FROM packages WHERE NOT EXISTS(SELECT 1 FROM links WHERE package=packages.id AND status NOT IN (%s))' % mode)
self.c.execute('DELETE FROM links WHERE NOT EXISTS(SELECT 1 FROM packages WHERE id=links.package)')