summaryrefslogtreecommitdiffstats
path: root/module/plugins/hooks/PremiumTo.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/PremiumTo.py
parent[ZippyshareCom] Typo (diff)
downloadpyload-b25bc61dd47d8d3c42969bd0f72443b21c4b059e.tar.xz
Spare code cosmetics
Diffstat (limited to 'module/plugins/hooks/PremiumTo.py')
-rw-r--r--module/plugins/hooks/PremiumTo.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hooks/PremiumTo.py b/module/plugins/hooks/PremiumTo.py
index 844ecc89d..b629b111e 100644
--- a/module/plugins/hooks/PremiumTo.py
+++ b/module/plugins/hooks/PremiumTo.py
@@ -24,6 +24,6 @@ class PremiumTo(MultiHook):
def getHosters(self):
- page = self.getURL("http://premium.to/api/hosters.php",
+ html = self.getURL("http://premium.to/api/hosters.php",
get={'username': self.account.username, 'password': self.account.password})
- return [x.strip() for x in page.replace("\"", "").split(";")]
+ return [x.strip() for x in html.replace("\"", "").split(";")]