mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-10 18:38:39 +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()
|
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…
Add table
Add a link
Reference in a new issue