summaryrefslogtreecommitdiffstats
path: root/module/plugins/hooks/PremiumToHook.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-07-17 03:03:26 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-07-17 03:03:26 +0200
commitd2e2b127651a5a44b56337eb6d9ca246c97a208a (patch)
tree46f34e2102fd44ed2f719727eb07a445e7baa77d /module/plugins/hooks/PremiumToHook.py
parentNo camelCase style anymore (diff)
downloadpyload-d2e2b127651a5a44b56337eb6d9ca246c97a208a.tar.xz
Spare fixes and code cosmetics
Diffstat (limited to 'module/plugins/hooks/PremiumToHook.py')
-rw-r--r--module/plugins/hooks/PremiumToHook.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/hooks/PremiumToHook.py b/module/plugins/hooks/PremiumToHook.py
index dd85cb903..937064087 100644
--- a/module/plugins/hooks/PremiumToHook.py
+++ b/module/plugins/hooks/PremiumToHook.py
@@ -21,7 +21,7 @@ class PremiumToHook(MultiHook):
def get_hosters(self):
- user, data = self.account.selectAccount()
+ user, data = self.account.select_account()
html = self.load("http://premium.to/api/hosters.php",
get={'username': user, 'password': data['password']})
return [x.strip() for x in html.replace("\"", "").split(";")]