diff options
author | 2015-06-05 14:17:43 +0200 | |
---|---|---|
committer | 2015-06-05 14:17:43 +0200 | |
commit | 43965c049b329220dec95cfc19feffc5053a7e2b (patch) | |
tree | b97248b9cbeb905312076d147d2e12179e3d8de6 /module/plugins/accounts/WebshareCz.py | |
parent | Merge pull request #1 from pyload/stable (diff) | |
parent | [NitroflareCom] Account fixup (2) (diff) | |
download | pyload-43965c049b329220dec95cfc19feffc5053a7e2b.tar.xz |
Merge pull request #2 from pyload/stable
sync
Diffstat (limited to 'module/plugins/accounts/WebshareCz.py')
-rw-r--r-- | module/plugins/accounts/WebshareCz.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/accounts/WebshareCz.py b/module/plugins/accounts/WebshareCz.py index f032e2317..8c53dd41e 100644 --- a/module/plugins/accounts/WebshareCz.py +++ b/module/plugins/accounts/WebshareCz.py @@ -12,7 +12,7 @@ from module.plugins.Account import Account class WebshareCz(Account): __name__ = "WebshareCz" __type__ = "account" - __version__ = "0.07" + __version__ = "0.08" __description__ = """Webshare.cz account plugin""" __license__ = "GPLv3" @@ -26,7 +26,7 @@ class WebshareCz(Account): def loadAccountInfo(self, user, req): html = req.load("https://webshare.cz/api/user_data/", - post={'wst': self.infos['wst']}, + post={'wst': self.getAccountData(user).get('wst', None)}, decode=True) self.logDebug("Response: " + html) @@ -65,4 +65,4 @@ class WebshareCz(Account): if "<status>OK</status>" not in login: self.wrongPassword() - self.infos['wst'] = re.search('<token>(.+)</token>', login).group(1) + data['wst'] = re.search('<token>(.+)</token>', login).group(1) |