From c484268fbef4ef07455eb856d3924224c784d3e2 Mon Sep 17 00:00:00 2001 From: RaNaN Date: Sat, 10 Dec 2011 20:48:38 +0100 Subject: little test cases --- module/database/FileDatabase.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'module/database') 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() -- cgit v1.2.3