diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2013-08-08 17:38:35 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2013-08-08 17:38:35 +0200 |
commit | 52f6599748ef61219112111dc5db71f3342b076d (patch) | |
tree | e3627ded64b7e98493ca1ec7bd182aaa1774252e /pyload/remote/apitypes_debug.py | |
parent | MultiHosters: moved settings to addon plugins. (diff) | |
download | pyload-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.py | 5 |
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, |