diff options
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 |