diff options
author | mkaay <mkaay@mkaay.de> | 2010-08-15 13:26:36 +0200 |
---|---|---|
committer | mkaay <mkaay@mkaay.de> | 2010-08-15 13:26:36 +0200 |
commit | 95d56e5e3e7e652d8599626627947c3f8d1f36d9 (patch) | |
tree | 98b75ab72903bcf2e3df307d3953842557636e63 /module/FileDatabase.py | |
parent | little debug helper script (diff) | |
download | pyload-95d56e5e3e7e652d8599626627947c3f8d1f36d9.tar.xz |
priority fix, unrar improve, serienjunkiesorg improve
Diffstat (limited to 'module/FileDatabase.py')
-rw-r--r-- | module/FileDatabase.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/module/FileDatabase.py b/module/FileDatabase.py index a59632bb8..a71336e07 100644 --- a/module/FileDatabase.py +++ b/module/FileDatabase.py @@ -800,7 +800,7 @@ class FileDatabaseBackend(Thread): cmd += ")" - cmd = "SELECT l.id FROM links as l INNER JOIN packages as p ON l.package=p.id WHERE p.queue=1 AND l.plugin NOT IN %s AND l.status IN (2,3,6,14) ORDER BY p.priority, p.packageorder, l.linkorder LIMIT 5" % cmd + cmd = "SELECT l.id FROM links as l INNER JOIN packages as p ON l.package=p.id WHERE p.queue=1 AND l.plugin NOT IN %s AND l.status IN (2,3,6,14) ORDER BY p.priority DESC, p.packageorder ASC, l.linkorder ASC LIMIT 5" % cmd self.c.execute(cmd) # very bad! |