From 4c66020d74217f55859a7f7c5e407dced3a65dd7 Mon Sep 17 00:00:00 2001 From: Giovanni <5774411+giovannicoppola@users.noreply.github.com> Date: Thu, 9 Nov 2023 07:43:37 -0500 Subject: [PATCH] Update alfredo-query.py --- source/alfredo-query.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/alfredo-query.py b/source/alfredo-query.py index 218b385..6b84c14 100755 --- a/source/alfredo-query.py +++ b/source/alfredo-query.py @@ -70,7 +70,7 @@ def main(): #subsetting the tasks based on the mode if MY_MODE == "today": - toShow = [task for task in allTasks if task['due'] and task['due']['date'] == today] # selecting tasks with due date = today + toShow = [task for task in allTasks if task['due'] and task['due']['date'].split("T")[0] == today] # selecting tasks with due date = today if toShow: toShow = sorted(toShow, key = lambda i: i['due']['date']) #sorting by due date MYICON = 'icons/today.png'