interactive: Consider only recycler's tasks for next_tasks
This commit is contained in:
parent
d1ecb45ba3
commit
c699c11eea
@ -156,7 +156,8 @@ def _task_colors(info):
|
||||
|
||||
def next_tasks(colors=frozenset(['ORANGE', 'YELLOW', 'EXTRA']), to=pager):
|
||||
tasks = _filtered_tasks(lambda t: t['state'] != 'DONE',
|
||||
lambda t: _task_colors(t) & colors)
|
||||
lambda t: _task_colors(t) & colors,
|
||||
lambda t: t['owner'].startswith('recycler'))
|
||||
to("%s tasks\n\n%s" % (len(tasks), _format_ti(tasks)))
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user