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-remote7
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'