diff options
author | 2015-07-17 03:03:26 +0200 | |
---|---|---|
committer | 2015-07-17 03:03:26 +0200 | |
commit | d2e2b127651a5a44b56337eb6d9ca246c97a208a (patch) | |
tree | 46f34e2102fd44ed2f719727eb07a445e7baa77d /module/plugins/hooks/RehostToHook.py | |
parent | No camelCase style anymore (diff) | |
download | pyload-d2e2b127651a5a44b56337eb6d9ca246c97a208a.tar.xz |
Spare fixes and code cosmetics
Diffstat (limited to 'module/plugins/hooks/RehostToHook.py')
-rw-r--r-- | module/plugins/hooks/RehostToHook.py | 4 |
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(",")] |