diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-03-08 22:15:45 +0100 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-03-08 22:15:45 +0100 |
commit | 88372d98619cb601cc41dfb226c71f9751b20d51 (patch) | |
tree | 3187b89c0e8b39bb511f9015f994f37f47d2bc6d /module/remote/thriftbackend/thriftgen/pyload/Pyload-remote | |
parent | Youtube fix, thrift java fix (diff) | |
download | pyload-88372d98619cb601cc41dfb226c71f9751b20d51.tar.xz |
captcha manager fix, toggle reconnect
Diffstat (limited to 'module/remote/thriftbackend/thriftgen/pyload/Pyload-remote')
-rwxr-xr-x | module/remote/thriftbackend/thriftgen/pyload/Pyload-remote | 7 |
1 files changed, 7 insertions, 0 deletions
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' |