summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-06-15 22:18:38 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-06-15 22:18:38 +0200
commit7d9e16c4c62348fe906aad9cd861a2614dec7e65 (patch)
treeebb134633d6151197f6e0ba3336938b36b5cda51
parentdirect add packages (diff)
downloadpyload-7d9e16c4c62348fe906aad9cd861a2614dec7e65.tar.xz
fix last commit
-rw-r--r--module/ThreadManager.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/ThreadManager.py b/module/ThreadManager.py
index b0e8679a7..4f8371637 100644
--- a/module/ThreadManager.py
+++ b/module/ThreadManager.py
@@ -165,7 +165,7 @@ class ThreadManager(Thread):
self.list.packager.addFileToPackage(pyfile.package.data["id"], self.list.collector.popFile(newFile))
newLinks += 1
- self.list.packager.pushPackage2Queue(pid)
+ if pid or pyfile.package.data["id"]: self.list.packager.pushPackage2Queue(pyfile.package.data["id"] or pid)
self.list.packager.removeFileFromPackage(pyfile.id, pyfile.package.data["id"])
if newLinks: