diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-07-17 15:29:48 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-07-17 15:29:48 +0200 |
commit | 1f5a55ae2133a782bdcca334ecbcdbde50dbcf99 (patch) | |
tree | 820ddb376ea97d4cf3aa53ef0f4dfb4ebfa4a0d5 /module/plugins/accounts/FilejungleCom.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/FilejungleCom.py')
-rw-r--r-- | module/plugins/accounts/FilejungleCom.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/module/plugins/accounts/FilejungleCom.py b/module/plugins/accounts/FilejungleCom.py index f5ee5889a..f0ff77ad8 100644 --- a/module/plugins/accounts/FilejungleCom.py +++ b/module/plugins/accounts/FilejungleCom.py @@ -25,7 +25,7 @@ class FilejungleCom(Account): def load_account_info(self, user, req): - html = self.load(self.URL + "dashboard.php", req=req) + html = self.load(self.URL + "dashboard.php") m = re.search(self.TRAFFIC_LEFT_PATTERN, html) if m: premium = True @@ -44,8 +44,7 @@ class FilejungleCom(Account): "loginFormSubmit" : "Login", "recaptcha_challenge_field" : "", "recaptcha_response_field" : "", - "recaptcha_shortencode_field": ""}, - req=req) + "recaptcha_shortencode_field": ""}) if re.search(self.LOGIN_FAILED_PATTERN, html): self.wrong_password() |