diff options
Diffstat (limited to 'module/plugins/accounts/FilejungleCom.py')
-rw-r--r-- | module/plugins/accounts/FilejungleCom.py | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/module/plugins/accounts/FilejungleCom.py b/module/plugins/accounts/FilejungleCom.py index f0ff77ad8..3909addd5 100644 --- a/module/plugins/accounts/FilejungleCom.py +++ b/module/plugins/accounts/FilejungleCom.py @@ -34,17 +34,17 @@ class FilejungleCom(Account): premium = False validuntil = -1 - return {"premium": premium, "trafficleft": -1, "validuntil": validuntil} + return {'premium': premium, 'trafficleft': -1, 'validuntil': validuntil} def login(self, user, data, req): html = self.load(urlparse.urljoin(self.URL, "login.php"), - post={"loginUserName" : user, - "loginUserPassword" : data['password'], - "loginFormSubmit" : "Login", - "recaptcha_challenge_field" : "", - "recaptcha_response_field" : "", - "recaptcha_shortencode_field": ""}) + post={'loginUserName' : user, + 'loginUserPassword' : data['password'], + 'loginFormSubmit' : "Login", + 'recaptcha_challenge_field' : "", + 'recaptcha_response_field' : "", + 'recaptcha_shortencode_field': ""}) if re.search(self.LOGIN_FAILED_PATTERN, html): self.wrong_password() |