diff options
author | Walter Purcaro <vuolter@gmail.com> | 2014-12-18 00:02:12 +0100 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2014-12-18 00:02:12 +0100 |
commit | c8f03124db975ddb9917036ba1f907dea2dea353 (patch) | |
tree | 71b15a9e8cb18972672c1f35c09354034178a818 | |
parent | Update plugins after XFSHoster changes (diff) | |
download | pyload-c8f03124db975ddb9917036ba1f907dea2dea353.tar.xz |
[DebridItaliaCom] Fix hoster plugin typo
-rw-r--r-- | module/plugins/hoster/DebridItaliaCom.py | 6 |
1 files changed, 3 insertions, 3 deletions
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() |