summaryrefslogtreecommitdiffstats
path: root/module/plugins/hooks/RehostToHook.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/hooks/RehostToHook.py')
-rw-r--r--module/plugins/hooks/RehostToHook.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hooks/RehostToHook.py b/module/plugins/hooks/RehostToHook.py
index 016377e15..67f3a6e8a 100644
--- a/module/plugins/hooks/RehostToHook.py
+++ b/module/plugins/hooks/RehostToHook.py
@@ -19,8 +19,8 @@ class RehostToHook(MultiHook):
def get_hosters(self):
- user, data = self.account.selectAccount()
+ user, data = self.account.select_account()
html = self.load("http://rehost.to/api.php",
get={'cmd' : "get_supported_och_dl",
- 'long_ses': self.account.getAccountInfo(user)['session']})
+ 'long_ses': self.account.get_account_info(user)['session']})
return [x.strip() for x in html.replace("\"", "").split(",")]