Sun, 09 Sep 2018 19:30:54 +0200
TaskViewer: amended another place to check for '__NO-TASK__' marker.
Tasks/TaskViewer.py | file | annotate | diff | comparison | revisions |
--- a/Tasks/TaskViewer.py Sun Sep 09 13:13:34 2018 +0200 +++ b/Tasks/TaskViewer.py Sun Sep 09 19:30:54 2018 +0200 @@ -741,6 +741,10 @@ lineIndex += 1 shouldBreak = False + if line.endswith("__NO-TASK__"): + # ignore potential task marker + continue + for taskType, taskMarkers in markers.items(): for taskMarker in taskMarkers: index = line.find(taskMarker)