From fa430b840340eb22f5b359327576d113fd1a1cfa Mon Sep 17 00:00:00 2001 From: Conatum Date: Thu, 30 Dec 2021 10:57:30 +0200 Subject: [PATCH] fix (todo): Correctly filter deleted tasks. --- bot/modules/todo/Tasklist.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot/modules/todo/Tasklist.py b/bot/modules/todo/Tasklist.py index f1b2ebac..3618b734 100644 --- a/bot/modules/todo/Tasklist.py +++ b/bot/modules/todo/Tasklist.py @@ -479,7 +479,7 @@ class Tasklist: count = data.tasklist.select_one_where( select_columns=("COUNT(*)",), userid=self.member.id, - deleted_at=NOTNULL + deleted_at=NULL )[0] # Fetch maximum allowed count