fix: do not consider Completed as touched
This commit is contained in:
parent
c0dee1e249
commit
2ca825a0e4
5 changed files with 20 additions and 2 deletions
|
|
@ -118,7 +118,7 @@ class StackSorter:
|
|||
self.reverse = reverse
|
||||
|
||||
def __call__(self, tasks):
|
||||
raise NotImplementedError
|
||||
raise NotImplementedError
|
||||
|
||||
|
||||
class Sectioner(Widget):
|
||||
|
|
@ -523,6 +523,9 @@ def get_data(taskfile, filter = None):
|
|||
|
||||
|
||||
def parse_touched(out):
|
||||
if "Completed task" in out:
|
||||
# For some reason, regexp below matches "Completed" as well.
|
||||
return []
|
||||
return re.findall("(?:Modifying|Created|Starting|Stopping)+ task ([0-9]+)", out)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue