summaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
Diffstat (limited to 'module')
-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"])