summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Jeix <devnull@localhost> 2010-06-16 21:22:25 +0200
committerGravatar Jeix <devnull@localhost> 2010-06-16 21:22:25 +0200
commite6b3dea3fcd90b041917ab626542d3c16a997c04 (patch)
treec11eac50d07254c8867abcf71a2490e9ccbf5aa4
parentnext try to fix the fix (diff)
downloadpyload-e6b3dea3fcd90b041917ab626542d3c16a997c04.tar.xz
better fix
-rw-r--r--module/ThreadManager.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/ThreadManager.py b/module/ThreadManager.py
index 7a8802d8f..307728fb3 100644
--- a/module/ThreadManager.py
+++ b/module/ThreadManager.py
@@ -164,8 +164,8 @@ class ThreadManager(Thread):
newFile = self.list.collector.addLink(link)
pid = pyfile.package.data["id"]
self.list.packager.addFileToPackage(pyfile.package.data["id"], self.list.collector.popFile(newFile))
- self.list.packager.pushPackage2Queue(pid)
newLinks += 1
+ self.list.packager.pushPackage2Queue(pid)
self.list.packager.removeFileFromPackage(pyfile.id, pyfile.package.data["id"])