Skip to content
This repository has been archived by the owner on Jan 3, 2018. It is now read-only.

Commit

Permalink
fix listing for just undone tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
h4llow3En committed Nov 8, 2015
1 parent cee3a4f commit 8d6c4de
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tdo/todolist/listing.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,10 @@ def listundone(todolist, num_len, settings):
table = settings['table']
tick = settings['tick']
keylist = sortdict(todolist)
if table:
printhead(num_len)
for key in keylist:
print('\n## {name}'.format(name=key))
printtitle(key, table, num_len)
if len(todolist[key]) == 0:
print(' No entries found.')
else:
Expand Down

0 comments on commit 8d6c4de

Please sign in to comment.