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()
|
||||
return
|
||||
try:
|
||||
client.remove_torrent(cmd[1:])
|
||||
client.remove_torrent(cmd, False, False)
|
||||
except Exception, msg:
|
||||
print "*** Error:", str(msg), "\n"
|
||||
|
||||
def usage(self):
|
||||
print "Usage: rm <torrent-id> [<torrent-id> ...]"
|
||||
print "Usage: rm <torrent-id>"
|
||||
print ""
|
||||
|
||||
def help(self):
|
||||
|
|
Loading…
Reference in New Issue