From 116df7c2034993bcdc9d686bf4fd75c3fe576b8a Mon Sep 17 00:00:00 2001 From: samerbam Date: Thu, 24 Aug 2023 21:57:56 -0400 Subject: [PATCH] show recurring todos on days without data entry --- application/database.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/application/database.py b/application/database.py index 18a8d53..21e1622 100644 --- a/application/database.py +++ b/application/database.py @@ -41,7 +41,9 @@ class TodoDatabase: # if self.datebase[date] is None: # return [] if date not in self.database: - return [] + if "recurring" not in self.database: + return [] + return self.database["recurring"] return self.database[date] def _update_quotes(self):