From 4467d75fa97ad7768c99d34f91fb85090401dbed Mon Sep 17 00:00:00 2001 From: digimint Date: Sat, 13 Dec 2025 04:11:17 -0600 Subject: [PATCH] Don't include completed tasks in daily plan, silly robo. --- src/taskflower/web/daily/__init__.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/taskflower/web/daily/__init__.py b/src/taskflower/web/daily/__init__.py index ff65c86..33496f0 100644 --- a/src/taskflower/web/daily/__init__.py +++ b/src/taskflower/web/daily/__init__.py @@ -286,6 +286,12 @@ def new(): cur_usr, NPT.COMPLETE_ALL_TASKS ) + ).map( + lambda tasks: [ + tsk + for tsk in tasks + if not tsk.complete + ] ).flat_map( lambda tasks: form_data.time_info.map( lambda tinfo: (tasks, tinfo)