diff options
author | Walter Purcaro <vuolter@gmail.com> | 2013-10-23 14:21:05 +0200 |
---|---|---|
committer | Stefano <l.stickell@yahoo.it> | 2013-10-23 14:21:05 +0200 |
commit | 57f21830085d3d5944b8d33fc9825d577e81ed8a (patch) | |
tree | 803407139336ee94f5f61b09f8e418cafcd9b0d8 /module/plugins/hoster/WuploadCom.py | |
parent | Merge pull request #331 from vuolter/s/hoster_lc (diff) | |
download | pyload-57f21830085d3d5944b8d33fc9825d577e81ed8a.tar.xz |
Cleanup for setup vars.
See #315
Diffstat (limited to 'module/plugins/hoster/WuploadCom.py')
-rw-r--r-- | module/plugins/hoster/WuploadCom.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/module/plugins/hoster/WuploadCom.py b/module/plugins/hoster/WuploadCom.py index 3dab1b1bb..aaeeb59fd 100644 --- a/module/plugins/hoster/WuploadCom.py +++ b/module/plugins/hoster/WuploadCom.py @@ -47,7 +47,7 @@ class WuploadCom(Hoster): __name__ = "WuploadCom" __type__ = "hoster" __pattern__ = r"http://[\w\.]*?wupload\..*?/file/(([a-z][0-9]+/)?[0-9]+)(/.*)?" - __version__ = "0.21" + __version__ = "0.22" __description__ = """Wupload com""" __author_name__ = ("jeix", "paulking") __author_mail__ = ("jeix@hasnomail.de", "") @@ -62,9 +62,7 @@ class WuploadCom(Hoster): CAPTCHA_TYPE1_PATTERN = r'Recaptcha.create\("(.*?)",' CAPTCHA_TYPE2_PATTERN = r'id="recaptcha_image"><img style="display: block;" src="(.+)image?c=(.+?)"' - def init(self): - if self.account: - self.premium = self.account.getAccountInfo(self.user)["premium"] + def setup(self): if not self.premium: self.chunkLimit = 1 self.multiDL = False |