summaryrefslogtreecommitdiffstats
path: root/module/plugins/hooks/RealdebridCom.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/RealdebridCom.py
parent[ZippyshareCom] Typo (diff)
downloadpyload-b25bc61dd47d8d3c42969bd0f72443b21c4b059e.tar.xz
Spare code cosmetics
Diffstat (limited to 'module/plugins/hooks/RealdebridCom.py')
-rw-r--r--module/plugins/hooks/RealdebridCom.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hooks/RealdebridCom.py b/module/plugins/hooks/RealdebridCom.py
index cff97c2f9..d9c9407dd 100644
--- a/module/plugins/hooks/RealdebridCom.py
+++ b/module/plugins/hooks/RealdebridCom.py
@@ -24,6 +24,6 @@ class RealdebridCom(MultiHook):
def getHosters(self):
https = "https" if self.getConfig("ssl") else "http"
- page = self.getURL(https + "://real-debrid.com/api/hosters.php").replace("\"", "").strip()
+ html = self.getURL(https + "://real-debrid.com/api/hosters.php").replace("\"", "").strip()
- return [x.strip() for x in page.split(",") if x.strip()]
+ return [x.strip() for x in html.split(",") if x.strip()]