diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-05-31 20:36:19 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-05-31 20:36:19 +0200 |
commit | dcb1894e0c708df0677187355c6743c08ac44c26 (patch) | |
tree | 9edd4c4eccde099a95edc8d7436dce8b92e3aba0 /module/remote/thriftbackend/thriftgen/pyload/Pyload-remote | |
parent | ShareLinksBiz decrypter (diff) | |
download | pyload-dcb1894e0c708df0677187355c6743c08ac44c26.tar.xz |
fixed positional captchas + availbillity over thrift
Diffstat (limited to 'module/remote/thriftbackend/thriftgen/pyload/Pyload-remote')
-rwxr-xr-x | module/remote/thriftbackend/thriftgen/pyload/Pyload-remote | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/module/remote/thriftbackend/thriftgen/pyload/Pyload-remote b/module/remote/thriftbackend/thriftgen/pyload/Pyload-remote index a9311d32b..d87ef6e28 100755 --- a/module/remote/thriftbackend/thriftgen/pyload/Pyload-remote +++ b/module/remote/thriftbackend/thriftgen/pyload/Pyload-remote @@ -77,7 +77,7 @@ if len(sys.argv) <= 1 or sys.argv[1] == '--help': print ' void updateAccounts(AccountData data)' print ' void removeAccount(string plugin, string account)' print ' bool login(string username, string password)' - print ' UserData getUserData()' + print ' UserData getUserData(string username, string password)' print ' getServices()' print ' bool hasService(string plugin, string func)' print ' string call(ServiceCall info)' @@ -468,10 +468,10 @@ elif cmd == 'login': pp.pprint(client.login(args[0],args[1],)) elif cmd == 'getUserData': - if len(args) != 0: - print 'getUserData requires 0 args' + if len(args) != 2: + print 'getUserData requires 2 args' sys.exit(1) - pp.pprint(client.getUserData()) + pp.pprint(client.getUserData(args[0],args[1],)) elif cmd == 'getServices': if len(args) != 0: |