summaryrefslogtreecommitdiffstats
path: root/pyLoadCli.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyLoadCli.py')
-rwxr-xr-xpyLoadCli.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/pyLoadCli.py b/pyLoadCli.py
index 079cee19c..d68b5faec 100755
--- a/pyLoadCli.py
+++ b/pyLoadCli.py
@@ -1,7 +1,7 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
-#Copyright (C) 2011 RaNaN
+#Copyright (C) 2012 RaNaN
#
#This program is free software; you can redistribute it and/or modify
#it under the terms of the GNU General Public License as published by
@@ -289,14 +289,14 @@ class Cli:
print _("Please use this syntax: add <Package name> <link> <link2> ...")
return
- self.client.addPackage(args[0], args[1:], Destination.Queue)
+ self.client.addPackage(args[0], args[1:], Destination.Queue, "")
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:], Destination.Collector)
+ self.client.addPackage(args[0], args[1:], Destination.Collector, "")
elif command == "del_file":
self.client.deleteFiles([int(x) for x in args])
@@ -392,7 +392,7 @@ class RefreshThread(Thread):
def print_help(config):
print
- print "pyLoadCli Copyright (c) 2008-2011 the pyLoad Team"
+ print "pyLoadCli Copyright (c) 2008-2012 the pyLoad Team"
print
print "Usage: [python] pyLoadCli.py [options] [command]"
print