From 029c026bae3d5f73370ec8fa209abe6aeba29982 Mon Sep 17 00:00:00 2001 From: Hugo Osvaldo Barrera Date: Wed, 16 Dec 2015 00:42:17 -0300 Subject: [PATCH] Fix default command not running properly --- todoman/cli.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/todoman/cli.py b/todoman/cli.py index a3b2f66a..ba298dfc 100644 --- a/todoman/cli.py +++ b/todoman/cli.py @@ -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( (