diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-07-19 13:42:29 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-07-19 13:42:29 +0200 |
commit | 33e2b36605e41962a2e8eee304a7f3d29690ffa8 (patch) | |
tree | e4e5fb38b8882ffe868f4f1ca965659f42b92612 /module/plugins/hoster/WebshareCz.py | |
parent | [OCR] Fix __init__ (diff) | |
download | pyload-33e2b36605e41962a2e8eee304a7f3d29690ffa8.tar.xz |
[OCR] Fix __init__ (2)
Diffstat (limited to 'module/plugins/hoster/WebshareCz.py')
-rw-r--r-- | module/plugins/hoster/WebshareCz.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hoster/WebshareCz.py b/module/plugins/hoster/WebshareCz.py index feea234f3..f772fa496 100644 --- a/module/plugins/hoster/WebshareCz.py +++ b/module/plugins/hoster/WebshareCz.py @@ -27,7 +27,7 @@ class WebshareCz(SimpleHoster): info['pattern'] = re.match(cls.__pattern__, url).groupdict() api_data = get_url("https://webshare.cz/api/file_info/", - post={'ident': info['pattern']['ID'], 'wst': ""}) + post={'ident': info['pattern']['ID'], 'wst': ""}) if not re.search(r'<status>OK', api_data): info['status'] = 1 @@ -43,7 +43,7 @@ class WebshareCz(SimpleHoster): wst = self.account.get_account_data(self.user).get('wst', None) if self.account else None api_data = get_url("https://webshare.cz/api/file_link/", - post={'ident': self.info['pattern']['ID'], 'wst': wst}) + post={'ident': self.info['pattern']['ID'], 'wst': wst}) self.log_debug("API data: " + api_data) |