Fix remove torrent command in null client.

This commit is contained in:
Andrew Resch 2008-04-06 03:14:29 +00:00
parent c226014439
commit 642569f4bc
1 changed files with 2 additions and 2 deletions

View File

@ -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):