diff options
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 6c8116d92..0251fbeae 100755 --- a/module/remote/thriftbackend/thriftgen/pyload/Pyload-remote +++ b/module/remote/thriftbackend/thriftgen/pyload/Pyload-remote @@ -41,7 +41,7 @@ if len(sys.argv) <= 1 or sys.argv[1] == '--help': print ' bool toggleReconnect()' print ' generatePackages(LinkList links)' print ' checkURLs(LinkList urls)' - print ' parseURLs(string html)' + print ' parseURLs(string html, string url)' print ' OnlineCheck checkOnlineStatus(LinkList urls)' print ' OnlineCheck checkOnlineStatusContainer(LinkList urls, string filename, string data)' print ' OnlineCheck pollResults(ResultID rid)' @@ -251,10 +251,10 @@ elif cmd == 'checkURLs': pp.pprint(client.checkURLs(eval(args[0]),)) elif cmd == 'parseURLs': - if len(args) != 1: - print 'parseURLs requires 1 args' + if len(args) != 2: + print 'parseURLs requires 2 args' sys.exit(1) - pp.pprint(client.parseURLs(args[0],)) + pp.pprint(client.parseURLs(args[0],args[1],)) elif cmd == 'checkOnlineStatus': if len(args) != 1: |