diff options
author | 2014-10-19 14:52:42 +0200 | |
---|---|---|
committer | 2014-10-19 14:52:42 +0200 | |
commit | 2ae91b81a2f12a1c9b1f78524df78a2b3f1ef494 (patch) | |
tree | c33c610c953a7833adfe8e357417e73b1d5231d4 /module/plugins/hoster/UploadheroCom.py | |
parent | parseError -> error now calls Fail instead Exception (diff) | |
download | pyload-2ae91b81a2f12a1c9b1f78524df78a2b3f1ef494.tar.xz |
Update hosters to self.error
Diffstat (limited to 'module/plugins/hoster/UploadheroCom.py')
-rw-r--r-- | module/plugins/hoster/UploadheroCom.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hoster/UploadheroCom.py b/module/plugins/hoster/UploadheroCom.py index 914886fca..3c26a0b8b 100644 --- a/module/plugins/hoster/UploadheroCom.py +++ b/module/plugins/hoster/UploadheroCom.py @@ -11,7 +11,7 @@ from module.plugins.internal.SimpleHoster import SimpleHoster, create_getInfo class UploadheroCom(SimpleHoster): __name__ = "UploadheroCom" __type__ = "hoster" - __version__ = "0.15" + __version__ = "0.16" __pattern__ = r'http://(?:www\.)?uploadhero\.com?/dl/\w+' @@ -40,7 +40,7 @@ class UploadheroCom(SimpleHoster): m = re.search(self.CAPTCHA_PATTERN, self.html) if m is None: - self.parseError("Captcha URL") + self.error("Captcha URL") captcha_url = "http://uploadhero.co" + m.group(1) for _ in xrange(5): |