Commit 9d97eb31 authored by Bram Schoenmakers's avatar Bram Schoenmakers

Some fixes for AppendCommand.

parent 7c7a7169
......@@ -13,6 +13,7 @@ class AppendCommand(Command.Command):
number = convert_todo_number(self.argument(0))
text = self.argument(1)
todo = self.todolist.todo(number)
self.todolist.append(number, text)
self.out(pretty_print(self.todo, [self.todolist.pp_number]))
self.out(pretty_print(todo, [self.todolist.pp_number()]))
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment