diff options
author | 2015-07-17 15:29:48 +0200 | |
---|---|---|
committer | 2015-07-17 15:29:48 +0200 | |
commit | 1f5a55ae2133a782bdcca334ecbcdbde50dbcf99 (patch) | |
tree | 820ddb376ea97d4cf3aa53ef0f4dfb4ebfa4a0d5 /module/plugins/accounts/WebshareCz.py | |
parent | Spare fixes and code cosmetics (diff) | |
download | pyload-1f5a55ae2133a782bdcca334ecbcdbde50dbcf99.tar.xz |
No more need to use the req argument when call load method
Diffstat (limited to 'module/plugins/accounts/WebshareCz.py')
-rw-r--r-- | module/plugins/accounts/WebshareCz.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/module/plugins/accounts/WebshareCz.py b/module/plugins/accounts/WebshareCz.py index 9f392bdb0..554d38951 100644 --- a/module/plugins/accounts/WebshareCz.py +++ b/module/plugins/accounts/WebshareCz.py @@ -43,8 +43,7 @@ class WebshareCz(Account): def login(self, user, data, req): salt = self.load("https://webshare.cz/api/salt/", post={'username_or_email': user, - 'wst' : ""}, - req=req) + 'wst' : ""}) if "<status>OK</status>" not in salt: self.wrong_password() @@ -58,8 +57,7 @@ class WebshareCz(Account): 'keep_logged_in' : 1, 'password' : password, 'username_or_email': user, - 'wst' : ""}, - req=req) + 'wst' : ""}) if "<status>OK</status>" not in login: self.wrong_password() |