summaryrefslogtreecommitdiffstats
path: root/module/plugins/hooks/AlldebridCom.py
diff options
context:
space:
mode:
authorGravatar Stefano <l.stickell@yahoo.it> 2013-07-24 14:24:51 +0200
committerGravatar Stefano <l.stickell@yahoo.it> 2013-07-24 14:24:51 +0200
commit669b1e0ec048e1ed8aeb842b2570376e9ad96863 (patch)
tree4703826f0c65f84ec5e9f1bac2d9dbd50e3376fa /module/plugins/hooks/AlldebridCom.py
parentDebridItaliaCom: two more hosters supported (diff)
downloadpyload-669b1e0ec048e1ed8aeb842b2570376e9ad96863.tar.xz
Fixed PEP 8 violations in Hooks
Diffstat (limited to 'module/plugins/hooks/AlldebridCom.py')
-rw-r--r--module/plugins/hooks/AlldebridCom.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/module/plugins/hooks/AlldebridCom.py b/module/plugins/hooks/AlldebridCom.py
index 6818b8c43..d0e9b1f77 100644
--- a/module/plugins/hooks/AlldebridCom.py
+++ b/module/plugins/hooks/AlldebridCom.py
@@ -5,6 +5,7 @@
from module.network.RequestFactory import getURL
from module.plugins.internal.MultiHoster import MultiHoster
+
class AlldebridCom(MultiHoster):
__name__ = "AlldebridCom"
__version__ = "0.13"
@@ -23,6 +24,6 @@ class AlldebridCom(MultiHoster):
def getHoster(self):
https = "https" if self.getConfig("https") else "http"
- page = getURL(https + "://www.alldebrid.com/api.php?action=get_host").replace("\"","").strip()
-
+ page = getURL(https + "://www.alldebrid.com/api.php?action=get_host").replace("\"", "").strip()
+
return [x.strip() for x in page.split(",") if x.strip()]