diff options
author | mkaay <mkaay@mkaay.de> | 2010-05-07 21:55:04 +0200 |
---|---|---|
committer | mkaay <mkaay@mkaay.de> | 2010-05-07 21:55:04 +0200 |
commit | 9477846b7c055e07c7dedb462f95d810fd0e744b (patch) | |
tree | eaa42f43a7d734c6b3205dec1d6cc0ffe3f6e04b /module/ThreadManager.py | |
parent | windows fix (diff) | |
download | pyload-9477846b7c055e07c7dedb462f95d810fd0e744b.tar.xz |
fixes
Diffstat (limited to 'module/ThreadManager.py')
-rw-r--r-- | module/ThreadManager.py | 4 |
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 |