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/EuroshareEu.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/EuroshareEu.py')
-rw-r--r-- | module/plugins/accounts/EuroshareEu.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/module/plugins/accounts/EuroshareEu.py b/module/plugins/accounts/EuroshareEu.py index 5d909b789..6317ea1b2 100644 --- a/module/plugins/accounts/EuroshareEu.py +++ b/module/plugins/accounts/EuroshareEu.py @@ -18,7 +18,7 @@ class EuroshareEu(Account): def load_account_info(self, user, req): self.relogin(user) - html = self.load("http://euroshare.eu/customer-zone/settings/", req=req) + html = self.load("http://euroshare.eu/customer-zone/settings/") m = re.search('id="input_expire_date" value="(\d+\.\d+\.\d+ \d+:\d+)"', html) if m is None: @@ -35,8 +35,7 @@ class EuroshareEu(Account): html = self.load('http://euroshare.eu/customer-zone/login/', post={"trvale" : "1", "login" : user, - "password": data['password']}, - req=req) + "password": data['password']}) if u">Nesprávne prihlasovacie meno alebo heslo" in html: self.wrong_password() |