summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/UploadableCh.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-09-29 22:43:17 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-09-29 22:43:17 +0200
commit3353ea228835ffa96cc73d5b5e23f6d92ba84203 (patch)
treec593079745e1a65c39bfa59b3a3b6a07e1b05486 /module/plugins/hoster/UploadableCh.py
parent[OpenloadIo] Cleanup (diff)
downloadpyload-3353ea228835ffa96cc73d5b5e23f6d92ba84203.tar.xz
Update hoster plugins
Diffstat (limited to 'module/plugins/hoster/UploadableCh.py')
-rw-r--r--module/plugins/hoster/UploadableCh.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/module/plugins/hoster/UploadableCh.py b/module/plugins/hoster/UploadableCh.py
index 88d79e9ba..a3d54e8ef 100644
--- a/module/plugins/hoster/UploadableCh.py
+++ b/module/plugins/hoster/UploadableCh.py
@@ -9,7 +9,7 @@ from module.plugins.internal.SimpleHoster import SimpleHoster, create_getInfo
class UploadableCh(SimpleHoster):
__name__ = "UploadableCh"
__type__ = "hoster"
- __version__ = "0.12"
+ __version__ = "0.13"
__status__ = "testing"
__pattern__ = r'http://(?:www\.)?uploadable\.ch/file/(?P<ID>\w+)'
@@ -65,13 +65,13 @@ class UploadableCh(SimpleHoster):
self.download(pyfile.url, post={'download': "normal"}, disposition=True)
- def check_file(self):
- if self.check_download({'wait': re.compile("Please wait for")}):
+ def check_download(self):
+ if self.check_file({'wait': re.compile("Please wait for")}):
self.log_info(_("Downloadlimit reached, please wait or reconnect"))
self.wait(60 * 60, True)
self.retry()
- return super(UploadableCh, self).check_file()
+ return super(UploadableCh, self).check_download()
getInfo = create_getInfo(UploadableCh)