summaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
authorGravatar zoidberg10 <zoidberg@mujmail.cz> 2012-01-25 20:04:44 +0100
committerGravatar zoidberg10 <zoidberg@mujmail.cz> 2012-01-25 20:04:44 +0100
commit78d238ccb21a5925a5ba730808c176a5607ee867 (patch)
treef2edd5296b95d251ff5c4e4897848215df9b3b1e /module
parentfix some hosters, disable some more (diff)
downloadpyload-78d238ccb21a5925a5ba730808c176a5607ee867.tar.xz
fix fixed hoster fix
Diffstat (limited to 'module')
-rw-r--r--module/plugins/internal/DeadHoster.py11
1 files changed, 5 insertions, 6 deletions
diff --git a/module/plugins/internal/DeadHoster.py b/module/plugins/internal/DeadHoster.py
index 2de1634b9..e180e2384 100644
--- a/module/plugins/internal/DeadHoster.py
+++ b/module/plugins/internal/DeadHoster.py
@@ -2,18 +2,17 @@ from module.plugins.Hoster import Hoster as _Hoster
def create_getInfo(plugin):
def getInfo(urls):
- for url in urls:
- yield '#N/A: ' + url, 0, 1, url
+ yield [('#N/A: ' + url, 0, 1, url) for url in urls]
return getInfo
-class Hoster(_Hoster):
+class DeadHoster(_Hoster):
__name__ = "DeadHoster"
__type__ = "hoster"
__pattern__ = r""
- __version__ = "0.1"
+ __version__ = "0.11"
__description__ = """Hoster is no longer available"""
__author_name__ = ("zoidberg")
__author_mail__ = ("zoidberg@mujmail.cz")
- def init(self):
- self.fail("Hoster is no longer available") \ No newline at end of file
+ def setup(self):
+ self.fail("Hoster is no longer available") \ No newline at end of file