Fix remove torrent command in null client.
This commit is contained in:
parent
c226014439
commit
642569f4bc
|
@ -255,12 +255,12 @@ class CommandRemove(Command):
|
||||||
self.usage()
|
self.usage()
|
||||||
return
|
return
|
||||||
try:
|
try:
|
||||||
client.remove_torrent(cmd[1:])
|
client.remove_torrent(cmd, False, False)
|
||||||
except Exception, msg:
|
except Exception, msg:
|
||||||
print "*** Error:", str(msg), "\n"
|
print "*** Error:", str(msg), "\n"
|
||||||
|
|
||||||
def usage(self):
|
def usage(self):
|
||||||
print "Usage: rm <torrent-id> [<torrent-id> ...]"
|
print "Usage: rm <torrent-id>"
|
||||||
print ""
|
print ""
|
||||||
|
|
||||||
def help(self):
|
def help(self):
|
||||||
|
|
Loading…
Reference in New Issue