diff options
Diffstat (limited to 'module/plugins/hooks/RPNetBizHook.py')
-rw-r--r-- | module/plugins/hooks/RPNetBizHook.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/hooks/RPNetBizHook.py b/module/plugins/hooks/RPNetBizHook.py index 872eb7e08..8b3dd6ea1 100644 --- a/module/plugins/hooks/RPNetBizHook.py +++ b/module/plugins/hooks/RPNetBizHook.py @@ -21,16 +21,16 @@ class RPNetBizHook(MultiHook): def getHosters(self): - # Get account data + #: Get account data user, data = self.account.selectAccount() res = self.load("https://premium.rpnet.biz/client_api.php", get={'username': user, 'password': data['password'], 'action': "showHosterList"}) hoster_list = json_loads(res) - # If account is not valid thera are no hosters available + #: If account is not valid thera are no hosters available if 'error' in hoster_list: return [] - # Extract hosters from json file + #: Extract hosters from json file return hoster_list['hosters'] |