mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 19:44:52 +00:00
Fix remove torrent command in null client.
This commit is contained in:
parent
c226014439
commit
642569f4bc
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue