Commit 8461a36a authored by Bram Schoenmakers's avatar Bram Schoenmakers

Fix for adding a todo.

parent 95ec6525
...@@ -43,7 +43,7 @@ class Application(object): ...@@ -43,7 +43,7 @@ class Application(object):
try: try:
self.todolist.add(sys.argv[2]) self.todolist.add(sys.argv[2])
self.print_todo(todo.number) # TODO self.print_todo(self.todolist.count())
self.dirty = True self.dirty = True
except IndexError: except IndexError:
error("No todo text was given.") error("No todo text was given.")
......
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