summaryrefslogtreecommitdiffstats
path: root/module/plugins/accounts/FilejungleCom.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-07-19 10:59:52 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-07-19 10:59:52 +0200
commitff9383bfe06d14d23bc0ed6af79aa8967965d078 (patch)
tree78a09f0c47eb392d6ca3c8bf948dc9a99709861b /module/plugins/accounts/FilejungleCom.py
parentFix addons (diff)
downloadpyload-ff9383bfe06d14d23bc0ed6af79aa8967965d078.tar.xz
Code cosmetics (3)
Diffstat (limited to 'module/plugins/accounts/FilejungleCom.py')
-rw-r--r--module/plugins/accounts/FilejungleCom.py14
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()