summaryrefslogtreecommitdiffstats
path: root/pyload/remote/apitypes_debug.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2013-08-08 17:38:35 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2013-08-08 17:38:35 +0200
commit52f6599748ef61219112111dc5db71f3342b076d (patch)
treee3627ded64b7e98493ca1ec7bd182aaa1774252e /pyload/remote/apitypes_debug.py
parentMultiHosters: moved settings to addon plugins. (diff)
downloadpyload-52f6599748ef61219112111dc5db71f3342b076d.tar.xz
adapted account api to multi user, fixed http referer bug
Diffstat (limited to 'pyload/remote/apitypes_debug.py')
-rw-r--r--pyload/remote/apitypes_debug.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/pyload/remote/apitypes_debug.py b/pyload/remote/apitypes_debug.py
index 0d04a8225..177029054 100644
--- a/pyload/remote/apitypes_debug.py
+++ b/pyload/remote/apitypes_debug.py
@@ -18,7 +18,7 @@ enums = [
]
classes = {
- 'AccountInfo' : [basestring, basestring, int, bool, int, int, int, bool, bool, bool, (dict, basestring, basestring)],
+ 'AccountInfo' : [basestring, basestring, int, bool, int, int, int, bool, bool, bool, (list, ConfigItem)],
'AddonInfo' : [basestring, basestring, basestring],
'AddonService' : [basestring, basestring, (list, basestring), (None, int)],
'ConfigHolder' : [basestring, basestring, basestring, basestring, (list, ConfigItem), (None, (list, AddonInfo))],
@@ -72,6 +72,7 @@ methods = {
'generateAndAddPackages': (list, int),
'generateDownloadLink': basestring,
'generatePackages': (dict, basestring, list),
+ 'getAccountInfo': AccountInfo,
'getAccountTypes': (list, basestring),
'getAccounts': (list, AccountInfo),
'getAddonHandler': (dict, basestring, list),
@@ -127,7 +128,7 @@ methods = {
'togglePause': bool,
'toggleReconnect': bool,
'unpauseServer': None,
- 'updateAccount': None,
+ 'updateAccount': AccountInfo,
'updateAccountInfo': None,
'updatePackage': None,
'updateUserData': None,