summaryrefslogtreecommitdiffstats
path: root/module/database
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-12-10 20:48:38 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-12-10 20:48:38 +0100
commitc484268fbef4ef07455eb856d3924224c784d3e2 (patch)
tree9792966733612bd5ace2b9837ddc5bf24a00db07 /module/database
parentmegaupload #451, uploadedto #443 (diff)
downloadpyload-c484268fbef4ef07455eb856d3924224c784d3e2.tar.xz
little test cases
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 564fc4562..d51241591 100644
--- a/module/database/FileDatabase.py
+++ b/module/database/FileDatabase.py
@@ -175,7 +175,7 @@ class FileHandler:
packs = self.packageCache.values()
for pack in packs:
- if pack.queue != queue and p.order < oldorder:
+ if pack.queue == p.queue and p.order < oldorder:
pack.order -= 1
pack.notifyChange()