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.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/accounts/RealdebridCom.py b/module/plugins/accounts/RealdebridCom.py
index 9b13aeefd..b29ad33d3 100644
--- a/module/plugins/accounts/RealdebridCom.py
+++ b/module/plugins/accounts/RealdebridCom.py
@@ -20,9 +20,9 @@ class RealdebridCom(Account):
return
html = req.load("https://real-debrid.com/api/account.php")
- xml = xml.dom.minidom.parseString(html)
+ account = xml.dom.minidom.parseString(html)
- validuntil = float(xml.getElementsByTagName("expiration")[0].childNodes[0].nodeValue)
+ validuntil = float(account.getElementsByTagName("expiration")[0].childNodes[0].nodeValue)
return {'validuntil' : validuntil,
'trafficleft': -1 ,