summaryrefslogtreecommitdiffstats
path: root/module/plugins/accounts/RealdebridCom.py
diff options
context:
space:
mode:
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()