From dcb1894e0c708df0677187355c6743c08ac44c26 Mon Sep 17 00:00:00 2001 From: RaNaN Date: Tue, 31 May 2011 20:36:19 +0200 Subject: fixed positional captchas + availbillity over thrift --- module/remote/thriftbackend/thriftgen/pyload/Pyload-remote | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'module/remote/thriftbackend/thriftgen/pyload/Pyload-remote') 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: -- cgit v1.2.3