diff options
author | mkaay <mkaay@mkaay.de> | 2010-05-05 23:03:43 +0200 |
---|---|---|
committer | mkaay <mkaay@mkaay.de> | 2010-05-05 23:03:43 +0200 |
commit | 81508f295cffc40c479fe72f24bdf1dbbedf5d92 (patch) | |
tree | 0cb68f0a525d0ead0cd8130c3adad150c49b81a7 /module/DownloadThread.py | |
parent | megavideo.com plugin (diff) | |
download | pyload-81508f295cffc40c479fe72f24bdf1dbbedf5d92.tar.xz |
refactored plugins, new plugin manager
Diffstat (limited to 'module/DownloadThread.py')
-rw-r--r-- | module/DownloadThread.py | 4 |
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" |