From c1764e2fea0bb05164c83a876e8cd58b97f58f25 Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Tue, 16 Jun 2015 17:31:38 +0200 Subject: Update all --- module/plugins/hoster/WebshareCz.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'module/plugins/hoster/WebshareCz.py') diff --git a/module/plugins/hoster/WebshareCz.py b/module/plugins/hoster/WebshareCz.py index c898d23ab..6aac44df6 100644 --- a/module/plugins/hoster/WebshareCz.py +++ b/module/plugins/hoster/WebshareCz.py @@ -27,8 +27,7 @@ class WebshareCz(SimpleHoster): info['pattern'] = re.match(cls.__pattern__, url).groupdict() api_data = getURL("https://webshare.cz/api/file_info/", - post={'ident': info['pattern']['ID'], 'wst': ""}, - decode=True) + post={'ident': info['pattern']['ID'], 'wst': ""}) if not re.search(r'OK', api_data): info['status'] = 1 @@ -44,8 +43,7 @@ class WebshareCz(SimpleHoster): wst = self.account.getAccountData(self.user).get('wst', None) if self.account else None api_data = getURL("https://webshare.cz/api/file_link/", - post={'ident': self.info['pattern']['ID'], 'wst': wst}, - decode=True) + post={'ident': self.info['pattern']['ID'], 'wst': wst}) self.logDebug("API data: " + api_data) -- cgit v1.2.3