From 642569f4bc174614cb94380de7491d628021ab9f Mon Sep 17 00:00:00 2001 From: Andrew Resch Date: Sun, 6 Apr 2008 03:14:29 +0000 Subject: [PATCH] Fix remove torrent command in null client. --- deluge/ui/null/deluge_shell.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deluge/ui/null/deluge_shell.py b/deluge/ui/null/deluge_shell.py index f145ef63d..6ce086e7a 100755 --- a/deluge/ui/null/deluge_shell.py +++ b/deluge/ui/null/deluge_shell.py @@ -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 [ ...]" + print "Usage: rm " print "" def help(self):