Skip to content

Commit

Permalink
Fix default command not running properly
Browse files Browse the repository at this point in the history
  • Loading branch information
Hugo Osvaldo Barrera committed Dec 16, 2015
1 parent ff514ea commit 029c026
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions todoman/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,8 @@ def list(ctx, lists, all, urgent, location, category, grep):
"""

pattern = re.compile(grep) if grep else None
# FIXME: When running with no command, this somehow ends up empty:
lists = lists or ctx.obj['db'].values()

todos = sorted(
(
Expand Down

0 comments on commit 029c026

Please sign in to comment.