From c8f03124db975ddb9917036ba1f907dea2dea353 Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Thu, 18 Dec 2014 00:02:12 +0100 Subject: [DebridItaliaCom] Fix hoster plugin typo --- module/plugins/hoster/DebridItaliaCom.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'module/plugins') diff --git a/module/plugins/hoster/DebridItaliaCom.py b/module/plugins/hoster/DebridItaliaCom.py index f9f4ce06d..6a86ba4e4 100644 --- a/module/plugins/hoster/DebridItaliaCom.py +++ b/module/plugins/hoster/DebridItaliaCom.py @@ -8,7 +8,7 @@ from module.plugins.internal.SimpleHoster import SimpleHoster, create_getInfo class DebridItaliaCom(SimpleHoster): __name__ = "DebridItaliaCom" __type__ = "hoster" - __version__ = "0.08" + __version__ = "0.09" __pattern__ = r'http://s\d+\.debriditalia\.com/dl/\d+' @@ -30,8 +30,8 @@ class DebridItaliaCom(SimpleHoster): html = self.load("http://www.debriditalia.com/api.php", get={'generate': "on", 'link': self.pyfile.url, 'p': self.getPassword()}) - if "ERROR" in html: - self.fail(re.search(r'ERROR:(.*)', html).strip()) + if "ERROR:" in html: + self.fail(re.search(r'ERROR:(.*)', html).group(1).strip()) self.link = html.strip() -- cgit v1.2.3