diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-07-25 09:34:18 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-07-25 09:34:18 +0200 |
commit | a95c217627a1cb651b24e69f20640df40797aff9 (patch) | |
tree | 63fcbffd55b704b461446c1724022e76373dac12 /module/plugins/accounts/WebshareCz.py | |
parent | Account rewritten (diff) | |
download | pyload-a95c217627a1cb651b24e69f20640df40797aff9.tar.xz |
Account rewritten (2)
Diffstat (limited to 'module/plugins/accounts/WebshareCz.py')
-rw-r--r-- | module/plugins/accounts/WebshareCz.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/accounts/WebshareCz.py b/module/plugins/accounts/WebshareCz.py index 1f2adb7f5..bbfb90a92 100644 --- a/module/plugins/accounts/WebshareCz.py +++ b/module/plugins/accounts/WebshareCz.py @@ -47,7 +47,7 @@ class WebshareCz(Account): 'wst' : ""}) if "<status>OK</status>" not in salt: - self.fail() + self.login_fail() salt = re.search('<salt>(.+)</salt>', salt).group(1) password = hashlib.sha1(md5_crypt.encrypt(password, salt=salt)).hexdigest() @@ -61,6 +61,6 @@ class WebshareCz(Account): 'wst' : ""}) if "<status>OK</status>" not in login: - self.fail() + self.login_fail() data['wst'] = re.search('<token>(.+)</token>', login).group(1) |