Commit a4773279 authored by Bram Schoenmakers's avatar Bram Schoenmakers

Pass on proper class to Command.execute().

parent dd7be1b0
...@@ -209,7 +209,7 @@ class CLIApplication(object): ...@@ -209,7 +209,7 @@ class CLIApplication(object):
else: else:
usage() usage()
if self.execute(subcommand_map[subcommand], args) == False: if self.execute(subcommand, args) == False:
exit(1) exit(1)
if self.todolist.is_dirty(): if self.todolist.is_dirty():
......
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