summaryrefslogtreecommitdiffstats
path: root/module/plugins/hooks/RPNetBizHook.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-06-17 18:59:20 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-06-24 22:42:40 +0200
commit20b6a2ec022202b0efb6cb69415239fb8f4d1445 (patch)
treefdbb3ad42854144b1cace0221145a472b36ef84d /module/plugins/hooks/RPNetBizHook.py
parentSpare code cosmetics (diff)
downloadpyload-20b6a2ec022202b0efb6cb69415239fb8f4d1445.tar.xz
Spare code cosmetics (2)
Diffstat (limited to 'module/plugins/hooks/RPNetBizHook.py')
-rw-r--r--module/plugins/hooks/RPNetBizHook.py6
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']