summaryrefslogtreecommitdiffstats
path: root/module/plugins/hooks/AlldebridCom.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2015-02-08 02:09:45 +0100
committerGravatar Walter Purcaro <vuolter@gmail.com> 2015-02-08 02:15:53 +0100
commitb25bc61dd47d8d3c42969bd0f72443b21c4b059e (patch)
tree6115841c9763289bd400c6171508f397d3526bf5 /module/plugins/hooks/AlldebridCom.py
parent[ZippyshareCom] Typo (diff)
downloadpyload-b25bc61dd47d8d3c42969bd0f72443b21c4b059e.tar.xz
Spare code cosmetics
Diffstat (limited to 'module/plugins/hooks/AlldebridCom.py')
-rw-r--r--module/plugins/hooks/AlldebridCom.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hooks/AlldebridCom.py b/module/plugins/hooks/AlldebridCom.py
index dddd97c0c..fd89571eb 100644
--- a/module/plugins/hooks/AlldebridCom.py
+++ b/module/plugins/hooks/AlldebridCom.py
@@ -24,6 +24,6 @@ class AlldebridCom(MultiHook):
def getHosters(self):
https = "https" if self.getConfig("ssl") else "http"
- page = self.getURL(https + "://www.alldebrid.com/api.php", get={'action': "get_host"}).replace("\"", "").strip()
+ html = self.getURL(https + "://www.alldebrid.com/api.php", get={'action': "get_host"}).replace("\"", "").strip()
- return [x.strip() for x in page.split(",") if x.strip()]
+ return [x.strip() for x in html.split(",") if x.strip()]