summaryrefslogtreecommitdiffstats
path: root/module/plugins/accounts/RPNetBiz.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/accounts/RPNetBiz.py')
-rw-r--r--module/plugins/accounts/RPNetBiz.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/module/plugins/accounts/RPNetBiz.py b/module/plugins/accounts/RPNetBiz.py
index 3b814debc..01f653483 100644
--- a/module/plugins/accounts/RPNetBiz.py
+++ b/module/plugins/accounts/RPNetBiz.py
@@ -1,13 +1,13 @@
# -*- coding: utf-8 -*-
-from module.plugins.internal.Account import Account
-from module.common.json_layer import json_loads
+from module.plugins.internal.MultiAccount import MultiAccount
+from module.plugins.internal.utils import json
-class RPNetBiz(Account):
+class RPNetBiz(MultiAccount):
__name__ = "RPNetBiz"
__type__ = "account"
- __version__ = "0.17"
+ __version__ = "0.18"
__status__ = "testing"
__config__ = [("mh_mode" , "all;listed;unlisted", "Filter hosters to use" , "all"),
@@ -24,7 +24,7 @@ class RPNetBiz(Account):
get={'username': user,
'password': password,
'action' : "showHosterList"})
- hoster_list = json_loads(res)
+ hoster_list = json.loads(res)
#: If account is not valid thera are no hosters available
if 'error' in hoster_list:
@@ -68,4 +68,4 @@ class RPNetBiz(Account):
'action': "showAccountInformation"})
self.log_debug("JSON data: %s" % res)
- return json_loads(res)
+ return json.loads(res)