summaryrefslogtreecommitdiffstats
path: root/module/plugins/accounts/AlldebridCom.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/accounts/AlldebridCom.py')
-rw-r--r--module/plugins/accounts/AlldebridCom.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/module/plugins/accounts/AlldebridCom.py b/module/plugins/accounts/AlldebridCom.py
index e9084dcc3..e02983e1c 100644
--- a/module/plugins/accounts/AlldebridCom.py
+++ b/module/plugins/accounts/AlldebridCom.py
@@ -12,7 +12,7 @@ from module.plugins.internal.Account import Account
class AlldebridCom(Account):
__name__ = "AlldebridCom"
__type__ = "account"
- __version__ = "0.24"
+ __version__ = "0.25"
__description__ = """AllDebrid.com account plugin"""
__license__ = "GPLv3"
@@ -46,8 +46,9 @@ class AlldebridCom(Account):
xml = xml.dom.minidom.parseString(html)
exp_time = time.time() + int(xml.getElementsByTagName("date")[0].childNodes[0].nodeValue) * 24 * 60 * 60
- account_info = {"validuntil": exp_time, "trafficleft": -1}
- return account_info
+ return {'validuntil' : exp_time,
+ 'trafficleft': -1 ,
+ 'premium' : True }
def login(self, user, data, req):