summaryrefslogtreecommitdiffstats
path: root/module/DownloadThread.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/DownloadThread.py')
-rw-r--r--module/DownloadThread.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/DownloadThread.py b/module/DownloadThread.py
index 3cfaed780..fe371ceba 100644
--- a/module/DownloadThread.py
+++ b/module/DownloadThread.py
@@ -39,7 +39,7 @@ class Status(object):
self.url = None
self.exists = False
self.waituntil = 0
- self.plugin = pyfile.modul.__name__
+ self.plugin = pyfile.plugin.__name__
self.want_reconnect = False
self.error = ""
@@ -130,7 +130,7 @@ class DownloadThread(Thread):
pyfile.plugin.req.set_timeout(self.parent.parent.config['general']['max_download_time'])
- if pyfile.plugin.props["type"] == "container":
+ if pyfile.plugin.__type__ == "container":
status.type = "decrypting"
else:
status.type = "downloading"