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/QuickshareCz.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/QuickshareCz.py')
| -rw-r--r-- | module/plugins/accounts/QuickshareCz.py | 5 | 
1 files changed, 2 insertions, 3 deletions
| diff --git a/module/plugins/accounts/QuickshareCz.py b/module/plugins/accounts/QuickshareCz.py index 07eae058f..4054ba180 100644 --- a/module/plugins/accounts/QuickshareCz.py +++ b/module/plugins/accounts/QuickshareCz.py @@ -19,7 +19,7 @@ class QuickshareCz(Account):      def load_account_info(self, user, req): -        html = self.load("http://www.quickshare.cz/premium", req=req) +        html = self.load("http://www.quickshare.cz/premium")          m = re.search(self.TRAFFIC_LEFT_PATTERN, html)          if m: @@ -36,8 +36,7 @@ class QuickshareCz(Account):          html = self.load('http://www.quickshare.cz/html/prihlaseni_process.php',                           post={"akce" : u'Přihlásit',                                 "heslo": data['password'], -                               "jmeno": user}, -                         req=req) +                               "jmeno": user})          if u'>Takový uživatel neexistuje.<' in html or u'>Špatné heslo.<' in html:              self.wrong_password() | 
