summaryrefslogtreecommitdiffstats
path: root/module/ThreadManager.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/ThreadManager.py')
-rw-r--r--module/ThreadManager.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/ThreadManager.py b/module/ThreadManager.py
index be4fc46d2..bf632b180 100644
--- a/module/ThreadManager.py
+++ b/module/ThreadManager.py
@@ -89,7 +89,7 @@ class ThreadManager(Thread):
if not pyfile.plugin.multi_dl:
self.occ_plugins.append(pyfile.modul.__name__)
pyfile.active = True
- if pyfile.plugin.props['type'] == "container":
+ if pyfile.plugin.__type__ == "container":
self.parent.logger.info(_("Get links from: %s") % pyfile.url)
else:
self.parent.logger.info(_("Download starts: %s") % pyfile.url)
@@ -122,7 +122,7 @@ class ThreadManager(Thread):
self.py_downloading.remove(pyfile)
if pyfile.status.type == "finished":
- if pyfile.plugin.props['type'] == "container":
+ if pyfile.plugin.__type__ == "container":
newLinks = 0
if pyfile.plugin.links:
if isinstance(pyfile.plugin.links, dict):