summaryrefslogtreecommitdiffstats
path: root/module/remote/thriftbackend/thriftgen/pyload/Pyload-remote
diff options
context:
space:
mode:
Diffstat (limited to 'module/remote/thriftbackend/thriftgen/pyload/Pyload-remote')
-rwxr-xr-xmodule/remote/thriftbackend/thriftgen/pyload/Pyload-remote8
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: