From ee9bb026433c4cd79b84efb06ca195447c4d7916 Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Mon, 15 Jun 2015 18:18:30 +0200 Subject: Fix https://github.com/pyload/pyload/issues/1501 --- module/plugins/accounts/AlldebridCom.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'module/plugins/accounts/AlldebridCom.py') 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): -- cgit v1.2.3