summaryrefslogtreecommitdiffstats
path: root/module/plugins/accounts/RealdebridCom.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-07-17 15:29:48 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-07-17 15:29:48 +0200
commit1f5a55ae2133a782bdcca334ecbcdbde50dbcf99 (patch)
tree820ddb376ea97d4cf3aa53ef0f4dfb4ebfa4a0d5 /module/plugins/accounts/RealdebridCom.py
parentSpare fixes and code cosmetics (diff)
downloadpyload-1f5a55ae2133a782bdcca334ecbcdbde50dbcf99.tar.xz
No more need to use the req argument when call load method
Diffstat (limited to 'module/plugins/accounts/RealdebridCom.py')
-rw-r--r--module/plugins/accounts/RealdebridCom.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/module/plugins/accounts/RealdebridCom.py b/module/plugins/accounts/RealdebridCom.py
index 1df84a7b0..6ec13e93f 100644
--- a/module/plugins/accounts/RealdebridCom.py
+++ b/module/plugins/accounts/RealdebridCom.py
@@ -19,7 +19,7 @@ class RealdebridCom(Account):
if self.pin_code:
return
- html = self.load("https://real-debrid.com/api/account.php", req=req)
+ html = self.load("https://real-debrid.com/api/account.php")
xml = dom.parseString(html)
validuntil = float(xml.getElementsByTagName("expiration")[0].childNodes[0].nodeValue)
@@ -34,8 +34,7 @@ class RealdebridCom(Account):
html = self.load("https://real-debrid.com/ajax/login.php",
get={"user": user,
- "pass": data['password']},
- req=req)
+ "pass": data['password']})
if "Your login informations are incorrect" in html:
self.wrong_password()