Commit f2117d9a authored by Bram Schoenmakers's avatar Bram Schoenmakers

Don't mark a todo marked as completed for the second time.

parent e55383ea
......@@ -164,7 +164,7 @@ class Application(object):
number = convert_number(argument(2))
todo = self.todolist.todo(number)
if todo:
if todo and not todo.is_completed():
todo.set_completed()
self.print_todo(number)
self.dirty = True
......
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