From 78d238ccb21a5925a5ba730808c176a5607ee867 Mon Sep 17 00:00:00 2001 From: zoidberg10 Date: Wed, 25 Jan 2012 20:04:44 +0100 Subject: fix fixed hoster fix --- module/plugins/internal/DeadHoster.py | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'module') 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 -- cgit v1.2.3