From 88372d98619cb601cc41dfb226c71f9751b20d51 Mon Sep 17 00:00:00 2001 From: RaNaN Date: Tue, 8 Mar 2011 22:15:45 +0100 Subject: captcha manager fix, toggle reconnect --- module/remote/thriftbackend/thriftgen/pyload/Pyload-remote | 7 +++++++ 1 file changed, 7 insertions(+) (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 92edffa14..2e597604e 100755 --- a/module/remote/thriftbackend/thriftgen/pyload/Pyload-remote +++ b/module/remote/thriftbackend/thriftgen/pyload/Pyload-remote @@ -37,6 +37,7 @@ if len(sys.argv) <= 1 or sys.argv[1] == '--help': print ' checkURL(LinkList urls)' print ' bool isTimeDownload()' print ' bool isTimeReconnect()' + print ' bool toggleReconnect()' print ' statusDownloads()' print ' PackageID addPackage(string name, LinkList links, Destination dest)' print ' PackageData getPackageData(PackageID pid)' @@ -223,6 +224,12 @@ elif cmd == 'isTimeReconnect': sys.exit(1) pp.pprint(client.isTimeReconnect()) +elif cmd == 'toggleReconnect': + if len(args) != 0: + print 'toggleReconnect requires 0 args' + sys.exit(1) + pp.pprint(client.toggleReconnect()) + elif cmd == 'statusDownloads': if len(args) != 0: print 'statusDownloads requires 0 args' -- cgit v1.2.3