From 02f992336fe279244ac23a779f4c0bfc530d6ec1 Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Fri, 19 Dec 2014 23:27:28 +0100 Subject: [AlldebridCom] Syntax fixup --- module/plugins/hoster/AlldebridCom.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'module') diff --git a/module/plugins/hoster/AlldebridCom.py b/module/plugins/hoster/AlldebridCom.py index ff909b596..2f4b8cd73 100644 --- a/module/plugins/hoster/AlldebridCom.py +++ b/module/plugins/hoster/AlldebridCom.py @@ -13,7 +13,7 @@ from module.utils import parseFileSize class AlldebridCom(SimpleHoster): __name__ = "AlldebridCom" __type__ = "hoster" - __version__ = "0.36" + __version__ = "0.37" __pattern__ = r'https?://(?:[^/]*\.)?alldebrid\..*' @@ -41,7 +41,7 @@ class AlldebridCom(SimpleHoster): def handleMulti(self): - password = self.getPassword().splitlines()[0] or "" + password = self.getPassword() data = json_loads(self.load("http://www.alldebrid.com/service.php", get={'link': self.pyfile.url, 'json': "true", 'pw': password})) -- cgit v1.2.3