diff --git a/deluge/ui/console/main.py b/deluge/ui/console/main.py index ddba4b59f..14833a42e 100644 --- a/deluge/ui/console/main.py +++ b/deluge/ui/console/main.py @@ -218,7 +218,7 @@ class ConsoleUI(component.Component): self.interactive = True self._commands = cmds if args: - args = args[0] + args = ' '.join(args) self.interactive = False if not cmds: print "Sorry, couldn't find any commands"