From 9477846b7c055e07c7dedb462f95d810fd0e744b Mon Sep 17 00:00:00 2001 From: mkaay Date: Fri, 7 May 2010 21:55:04 +0200 Subject: fixes --- module/ThreadManager.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'module') 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 -- cgit v1.2.3