summaryrefslogtreecommitdiffstats
path: root/module/plugins/accounts/RPNetBiz.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-10-18 17:12:53 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-10-18 17:12:53 +0200
commit6891502d1eb47f3db824ee25a8d978284f3e75e7 (patch)
treee6f530c6a3dab287ef9144bdeee527d50a84c2dd /module/plugins/accounts/RPNetBiz.py
parentNew plugin: Http (diff)
downloadpyload-6891502d1eb47f3db824ee25a8d978284f3e75e7.tar.xz
Multi-hoster accounts now extend MultiAccount class
Diffstat (limited to 'module/plugins/accounts/RPNetBiz.py')
-rw-r--r--module/plugins/accounts/RPNetBiz.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/module/plugins/accounts/RPNetBiz.py b/module/plugins/accounts/RPNetBiz.py
index 3b814debc..63f2b4d72 100644
--- a/module/plugins/accounts/RPNetBiz.py
+++ b/module/plugins/accounts/RPNetBiz.py
@@ -1,10 +1,10 @@
# -*- 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"
@@ -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)