summaryrefslogtreecommitdiffstats
path: root/pyLoadCli.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-05-10 21:52:59 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-05-10 21:52:59 +0200
commit141a87a537baa322d20c54cd7632a2401d7ffe9d (patch)
treec1eab088418e030049fd831a8f3f921c06f90f68 /pyLoadCli.py
parentrewritten cli, closed #275, #304 (diff)
downloadpyload-141a87a537baa322d20c54cd7632a2401d7ffe9d.tar.xz
fix cli
Diffstat (limited to 'pyLoadCli.py')
-rw-r--r--pyLoadCli.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pyLoadCli.py b/pyLoadCli.py
index 5a4a152f2..7fbfd3632 100644
--- a/pyLoadCli.py
+++ b/pyLoadCli.py
@@ -276,14 +276,14 @@ class Cli:
print _("Please use this syntax: add <Package name> <link> <link2> ...")
return
- self.client.addPackage(args[0], args[1:], 1)
+ self.client.addPackage(args[0], args[1:], 0)
elif command == "add_coll":
if len(args) < 2:
print _("Please use this syntax: add <Package name> <link> <link2> ...")
return
- self.client.addPackage(args[0], args[1:], 0)
+ self.client.addPackage(args[0], args[1:], 1)
elif command == "del_file":
self.client.deleteFiles([int(x) for x in args])