summaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-06-15 22:12:25 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-06-15 22:12:25 +0200
commit5020a913b37bd661e929a91d08c1baf0ce628802 (patch)
tree855c41162a782df6dce6544bba0d83f617483ba6 /module
parentcompatibility fix. Webinterface now works with django 1.1 and 1.2 (diff)
downloadpyload-5020a913b37bd661e929a91d08c1baf0ce628802.tar.xz
direct add packages
Diffstat (limited to 'module')
-rw-r--r--module/ThreadManager.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/module/ThreadManager.py b/module/ThreadManager.py
index 355bbbc88..b0e8679a7 100644
--- a/module/ThreadManager.py
+++ b/module/ThreadManager.py
@@ -161,9 +161,11 @@ class ThreadManager(Thread):
else:
for link in pyfile.plugin.links:
newFile = self.list.collector.addLink(link)
+ pid = pyfile.package.data["id"]
self.list.packager.addFileToPackage(pyfile.package.data["id"], self.list.collector.popFile(newFile))
newLinks += 1
- #self.list.packager.pushPackage2Queue(pyfile.package.data["id"])
+
+ self.list.packager.pushPackage2Queue(pid)
self.list.packager.removeFileFromPackage(pyfile.id, pyfile.package.data["id"])
if newLinks: