Don't include completed tasks in daily plan, silly robo.

This commit is contained in:
digimint 2025-12-13 04:11:17 -06:00
parent 71eb6bf04b
commit 4467d75fa9
Signed by: digimint
GPG key ID: 8DF1C6FD85ABF748

View file

@ -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)