summaryrefslogtreecommitdiffstats
path: root/module/ThreadManager.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-06-15 22:23:29 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-06-15 22:23:29 +0200
commit01e4df9b90643acb753803767101a3d4b0bb1f6c (patch)
tree7115d8fc9a3553d88bbcdada44cfe15f9a9c5fe5 /module/ThreadManager.py
parentfix last commit (diff)
downloadpyload-01e4df9b90643acb753803767101a3d4b0bb1f6c.tar.xz
fix last fix
Diffstat (limited to 'module/ThreadManager.py')
-rw-r--r--module/ThreadManager.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/ThreadManager.py b/module/ThreadManager.py
index 4f8371637..b6a6f3543 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
- if pid or pyfile.package.data["id"]: self.list.packager.pushPackage2Queue(pyfile.package.data["id"] or pid)
+ if pyfile.package.data["id"] or pid: self.list.packager.pushPackage2Queue(pyfile.package.data["id"] or pid)
self.list.packager.removeFileFromPackage(pyfile.id, pyfile.package.data["id"])
if newLinks: