summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar mkaay <mkaay@mkaay.de> 2010-05-07 21:55:04 +0200
committerGravatar mkaay <mkaay@mkaay.de> 2010-05-07 21:55:04 +0200
commit9477846b7c055e07c7dedb462f95d810fd0e744b (patch)
treeeaa42f43a7d734c6b3205dec1d6cc0ffe3f6e04b
parentwindows fix (diff)
downloadpyload-9477846b7c055e07c7dedb462f95d810fd0e744b.tar.xz
fixes
-rw-r--r--module/ThreadManager.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/ThreadManager.py b/module/ThreadManager.py
index bf632b180..6e07f1e72 100644
--- a/module/ThreadManager.py
+++ b/module/ThreadManager.py
@@ -87,7 +87,7 @@ class ThreadManager(Thread):
self.py_downloading.append(pyfile)
self.parent.hookManager.downloadStarts(pyfile)
if not pyfile.plugin.multi_dl:
- self.occ_plugins.append(pyfile.modul.__name__)
+ self.occ_plugins.append(pyfile.plugin.__name__)
pyfile.active = True
if pyfile.plugin.__type__ == "container":
self.parent.logger.info(_("Get links from: %s") % pyfile.url)
@@ -100,7 +100,7 @@ class ThreadManager(Thread):
def isDecryptWaiting(self):
pyfiles = self.list.getDownloadList(self.occ_plugins)
for pyfile in pyfiles:
- if pyfile.plugin.props['type'] == "container":
+ if pyfile.plugin.__type__ == "container":
return True
return False