summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-12-18 00:02:12 +0100
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-12-18 00:02:12 +0100
commitc8f03124db975ddb9917036ba1f907dea2dea353 (patch)
tree71b15a9e8cb18972672c1f35c09354034178a818
parentUpdate plugins after XFSHoster changes (diff)
downloadpyload-c8f03124db975ddb9917036ba1f907dea2dea353.tar.xz
[DebridItaliaCom] Fix hoster plugin typo
-rw-r--r--module/plugins/hoster/DebridItaliaCom.py6
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()