Hey
This commit is contained in:
parent
84967eac60
commit
7a7a3b68f4
8 changed files with 65 additions and 10 deletions
|
@ -535,7 +535,7 @@ class TaskWarriorProvider(StatefulSection, InotifyUpdater):
|
|||
def fetcher(self):
|
||||
maxi = -math.inf
|
||||
total = 0
|
||||
for task in self.taskw.load_tasks()['pending']:
|
||||
for task in self.taskw.load_tasks('pending')['pending']:
|
||||
urgency = task['urgency']
|
||||
if urgency > maxi:
|
||||
maxi = urgency
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue